Enable no-class-assign

Usually it makes no sense to reassign class variables

http://eslint.org/docs/rules/no-class-assign

Change-Id: Id556cd4e427c8772aed0e97aa68fa742f8692b7d
This commit is contained in:
Vitaly Kramskikh 2016-05-12 16:54:48 +03:00
parent 5c164b6bea
commit ff4405854c
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ rules:
# disallow modifying variables of class declarations
# http://eslint.org/docs/rules/no-class-assign
no-class-assign: 0
no-class-assign: 2
# disallow arrow functions where they could be confused with comparisons
# http://eslint.org/docs/rules/no-confusing-arrow