add linters
This commit is contained in:
parent
207f06a791
commit
dd96ce7b2a
2 changed files with 17 additions and 1 deletions
13
.eslintrc.json
Normal file
13
.eslintrc.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": ["eslint:recommended", "prettier"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {}
|
||||
}
|
|
@ -24,13 +24,16 @@
|
|||
"chai": "^4.3.4",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"docdash": "^1.2.0",
|
||||
"jsdoc": "^3.6.10",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"jsdoc": "^4.0.2",
|
||||
"karma": "^6.3.9",
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-firefox-launcher": "^2.1.2",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"mocha": "^9.1.3",
|
||||
"prettier": "3.0.3",
|
||||
"webpack": "^5.64.1",
|
||||
"webpack-cli": "^4.9.1"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue