diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..a20ebd3 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,13 @@ +{ + "env": { + "browser": true, + "es2021": true, + "node": true + }, + "extends": ["eslint:recommended", "prettier"], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": {} +} diff --git a/package.json b/package.json index dadedf2..bdde312 100644 --- a/package.json +++ b/package.json @@ -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" },