Add ESLint.

This commit is contained in:
David Braun 2017-12-06 14:38:07 -05:00
parent 4315a28f0c
commit e8c27056de
No known key found for this signature in database
GPG key ID: 5694EEC4D129BDCF
2 changed files with 23 additions and 2 deletions

13
.eslintrc.js Normal file
View file

@ -0,0 +1,13 @@
module.exports = {
env: {
es6: true,
mocha: true,
node: true
},
parserOptions: {
ecmaVersion: 2017
},
rules: {
"no-unused-vars": "warn"
}
};