summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-12 17:30:28 +0300
committerVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-12 17:30:28 +0300
commitcd40c50186dd66022b514e7ef06e78d014a51971 (patch)
tree12de8466575100e5b2456de87874f7147dcd686f
parent5c164b6bea214ea3e776327e86aeff7d6b8a1935 (diff)
Enable no-const-assign
Attempts to modify a constant cause runtime errors http://eslint.org/docs/rules/no-const-assign Change-Id: I89c0426c601f834fa91ea8315ca5b8ba0600c181
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:13:28 +0000 Reviewed-on: https://review.openstack.org/315600 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..3330109 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -879,7 +879,7 @@ rules:
879 879
880 # disallow modifying variables that are declared using const 880 # disallow modifying variables that are declared using const
881 # http://eslint.org/docs/rules/no-const-assign 881 # http://eslint.org/docs/rules/no-const-assign
882 no-const-assign: 0 882 no-const-assign: 2
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