add no-shadow rule to eslint
This commit is contained in:
parent
786c4fdab2
commit
3f51ccca64
|
@ -8,5 +8,8 @@
|
|||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2017
|
||||
},
|
||||
"rules": {
|
||||
"no-shadow": "error"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue