Update eslint to prefer let/const over var
This commit is contained in:
parent
a5ee93b301
commit
f83424aeb2
1 changed files with 2 additions and 0 deletions
|
@ -141,9 +141,11 @@ module.exports = [
|
|||
"no-useless-call": "error",
|
||||
"no-useless-concat": "error",
|
||||
"no-useless-return": "error",
|
||||
"no-var": "error",
|
||||
"no-void": "error",
|
||||
"no-warning-comments": "warn",
|
||||
"operator-assignment": "error",
|
||||
"prefer-const": "error",
|
||||
"prefer-object-spread": "error",
|
||||
"radix": ["error", "always"],
|
||||
"yoda": "error"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue