Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0fb763

Browse files
committed
[eslint config] [base] enable no-multi-assign
1 parent 62a1ede commit d0fb763

File tree

1 file changed

+1
-2
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-2
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ module.exports = {
233233

234234
// disallow use of chained assignment expressions
235235
// http://eslint.org/docs/rules/no-multi-assign
236-
// TODO: enable, semver-minor
237-
'no-multi-assign': ['off'],
236+
'no-multi-assign': ['error'],
238237

239238
// disallow multiple empty lines and only one newline at the end
240239
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 1 }],

0 commit comments

Comments
 (0)