summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-12 18:10:57 +0300
committerVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-12 18:10:57 +0300
commit596fbf4c6fe8940af42494f570dd6e77c1df1434 (patch)
tree7aa127d47939b9a196fb56cac3fe742dc65221d3
parent5c164b6bea214ea3e776327e86aeff7d6b8a1935 (diff)
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
Notes
Notes (review): Code-Review+1: Michael Krotscheck <krotscheck@gmail.com> Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Code-Review+1: Kate Pimenova <kpimenova@mirantis.com> Code-Review+2: Timur Sufiev <tsufiev@mirantis.com> Code-Review+2: Beth Elwell <e.r.elwell@gmail.com> Workflow+1: Beth Elwell <e.r.elwell@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 02 Jun 2016 15:11:09 +0000 Reviewed-on: https://review.openstack.org/315624 Project: openstack/eslint-config-openstack Branch: refs/heads/master
-rw-r--r--.eslintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 2c821ce..d8f427a 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -883,7 +883,7 @@ rules:
883 883
884 # disallow duplicate name in class members 884 # disallow duplicate name in class members
885 # http://eslint.org/docs/rules/no-dupe-class-members 885 # http://eslint.org/docs/rules/no-dupe-class-members
886 no-dupe-class-members: 0 886 no-dupe-class-members: 2
887 887
888 # disallow use of the new operator with the Symbol object 888 # disallow use of the new operator with the Symbol object
889 # http://eslint.org/docs/rules/no-new-symbol 889 # http://eslint.org/docs/rules/no-new-symbol