Add ESLint.
This commit is contained in:
parent
4315a28f0c
commit
e8c27056de
2 changed files with 23 additions and 2 deletions
13
.eslintrc.js
Normal file
13
.eslintrc.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
es6: true,
|
||||
mocha: true,
|
||||
node: true
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 2017
|
||||
},
|
||||
rules: {
|
||||
"no-unused-vars": "warn"
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue