mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 16:37:54 -05:00
[eslint config] [base] [breaking] enable no-class-assign rule, to pair with no-func-assign
This commit is contained in:
@@ -29,8 +29,8 @@ module.exports = {
|
||||
// enforce the spacing around the * in generator functions
|
||||
'generator-star-spacing': 0,
|
||||
// disallow modifying variables of class declarations
|
||||
// TODO: enable
|
||||
'no-class-assign': 0,
|
||||
// http://eslint.org/docs/rules/no-class-assign
|
||||
'no-class-assign': 2,
|
||||
// disallow arrow functions where they could be confused with comparisons
|
||||
// http://eslint.org/docs/rules/no-confusing-arrow
|
||||
'no-confusing-arrow': [2, {
|
||||
|
||||
Reference in New Issue
Block a user