X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.json;h=ddb47174049aff56a7589146429e75c4e1660902;hb=4a0329e11a89061df3af60db199fc11763748f8d;hp=014979ef1012fd88740c3dc4565bdae9838ae29f;hpb=82a77234c9524e07aab73dc4fa49d6a82580f8ae;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.json b/.eslintrc.json index 014979ef..ddb47174 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,8 +3,7 @@ "root": true, "env": { "es2022": true, - "node": true, - "mocha": true + "node": true }, "parserOptions": { "ecmaVersion": 2022, @@ -100,7 +99,6 @@ "allowSeparatedGroups": true } ], - "import/no-unresolved": "error", "import/order": [ "error", { @@ -143,13 +141,13 @@ "files": ["**/*.ts"], "parser": "@typescript-eslint/parser", "parserOptions": { - "project": "./tsconfig.json" + "project": true, + "tsconfigRootDir": "./" }, "plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"], "extends": [ - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", + "plugin:@typescript-eslint/recommended-type-checked", + "plugin:@typescript-eslint/stylistic-type-checked", "plugin:import/typescript" ], "rules": {