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:
parent
5c164b6bea
commit
ff4405854c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue