Add eslint to the project

This commit is contained in:
Jos de Jong 2020-08-30 14:11:24 +02:00
parent 763b0b7c3c
commit a28335fe57
3 changed files with 1055 additions and 0 deletions

16
.eslintrc.js Normal file
View File

@ -0,0 +1,16 @@
module.exports = {
env: {
browser: true,
es2020: true,
mocha: true
},
extends: [
'standard'
],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
rules: {
}
}

1033
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,6 +32,12 @@
"@rollup/plugin-json": "4.1.0", "@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "8.4.0", "@rollup/plugin-node-resolve": "8.4.0",
"btoa": "1.2.1", "btoa": "1.2.1",
"eslint": "7.7.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"mkdirp": "1.0.4", "mkdirp": "1.0.4",
"mocha": "8.1.1", "mocha": "8.1.1",
"rollup": "2.23.0", "rollup": "2.23.0",