Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 3762c9a commit 92df635Copy full SHA for 92df635
packages/eslint-config-airbnb/rules/variables.js
@@ -11,6 +11,9 @@ module.exports = {
11
'no-implicit-globals': 0,
12
// disallow labels that share a name with a variable
13
'no-label-var': 0,
14
+ // disallow self assignment
15
+ // http://eslint.org/docs/rules/no-self-assign
16
+ 'no-self-assign': 2,
17
// disallow shadowing of names such as arguments
18
'no-shadow-restricted-names': 2,
19
// disallow declaration of variables already declared in the outer scope
0 commit comments