add linters

This commit is contained in:
boyska 2023-09-14 00:02:15 +01:00
parent 207f06a791
commit dd96ce7b2a
2 changed files with 17 additions and 1 deletions

13
.eslintrc.json Normal file
View file

@ -0,0 +1,13 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {}
}

View file

@ -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"
},