From 596fbf4c6fe8940af42494f570dd6e77c1df1434 Mon Sep 17 00:00:00 2001 From: Vitaly Kramskikh Date: Thu, 12 May 2016 18:10:57 +0300 Subject: [PATCH] Enable no-dupe-class-members If there are declarations of the same name in class members, the last declaration overwrites other declarations silently. It can cause unexpected behaviors. http://eslint.org/docs/rules/no-dupe-class-members Change-Id: I0279dd2f818ea893f26e6230ac7a7648dbae5520 --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 2c821ce..d8f427a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -883,7 +883,7 @@ rules: # disallow duplicate name in class members # http://eslint.org/docs/rules/no-dupe-class-members - no-dupe-class-members: 0 + no-dupe-class-members: 2 # disallow use of the new operator with the Symbol object # http://eslint.org/docs/rules/no-new-symbol