We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no-class-assign
no-func-assign
1 parent e9aec9e commit 83c431dCopy full SHA for 83c431d
1 file changed
packages/eslint-config-airbnb-base/rules/es6.js
@@ -29,8 +29,8 @@ module.exports = {
29
// enforce the spacing around the * in generator functions
30
'generator-star-spacing': 0,
31
// disallow modifying variables of class declarations
32
- // TODO: enable
33
- 'no-class-assign': 0,
+ // http://eslint.org/docs/rules/no-class-assign
+ 'no-class-assign': 2,
34
// disallow arrow functions where they could be confused with comparisons
35
// http://eslint.org/docs/rules/no-confusing-arrow
36
'no-confusing-arrow': [2, {
0 commit comments