We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefer-const
1 parent 8d6d227 commit 7a80837Copy full SHA for 7a80837
packages/eslint-config-airbnb-base/rules/es6.js
@@ -97,7 +97,7 @@ module.exports = {
97
// suggest using of const declaration for variables that are never modified after declared
98
'prefer-const': [2, {
99
'destructuring': 'any',
100
- 'ignoreReadBeforeAssign': false, // TODO: make true
+ 'ignoreReadBeforeAssign': true,
101
}],
102
103
// suggest using the spread operator instead of .apply()
0 commit comments