mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 10:18:03 -05:00
[eslint-v2][variables] add no-self-assign
This commit is contained in:
committed by
Jordan Harband
parent
3762c9add8
commit
92df6357b3
@@ -11,6 +11,9 @@ module.exports = {
|
||||
'no-implicit-globals': 0,
|
||||
// disallow labels that share a name with a variable
|
||||
'no-label-var': 0,
|
||||
// disallow self assignment
|
||||
// http://eslint.org/docs/rules/no-self-assign
|
||||
'no-self-assign': 2,
|
||||
// disallow shadowing of names such as arguments
|
||||
'no-shadow-restricted-names': 2,
|
||||
// disallow declaration of variables already declared in the outer scope
|
||||
|
||||
Reference in New Issue
Block a user