ESLint: Add "no-undef" rule.
This commit is contained in:
parent
c71312c22f
commit
9cf3cb65e4
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ module.exports = {
|
||||||
ecmaVersion: 2017
|
ecmaVersion: 2017
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
"no-undef": "error",
|
||||||
"no-unused-vars": "warn"
|
"no-unused-vars": "warn"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue