summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-12 16:54:48 +0300
committerVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-12 16:54:48 +0300
commitff4405854c44656818e0b05554336d461319a0e5 (patch)
treecf286fb1b6315cd0e9e6a4969e9a5c0cbd26df25
parent5c164b6bea214ea3e776327e86aeff7d6b8a1935 (diff)
Enable no-class-assign
Usually it makes no sense to reassign class variables http://eslint.org/docs/rules/no-class-assign Change-Id: Id556cd4e427c8772aed0e97aa68fa742f8692b7d
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:16 +0000 Reviewed-on: https://review.openstack.org/315583 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..e994dc1 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -871,7 +871,7 @@ rules:
871 871
872 # disallow modifying variables of class declarations 872 # disallow modifying variables of class declarations
873 # http://eslint.org/docs/rules/no-class-assign 873 # http://eslint.org/docs/rules/no-class-assign
874 no-class-assign: 0 874 no-class-assign: 2
875 875
876 # disallow arrow functions where they could be confused with comparisons 876 # disallow arrow functions where they could be confused with comparisons
877 # http://eslint.org/docs/rules/no-confusing-arrow 877 # http://eslint.org/docs/rules/no-confusing-arrow