X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.eslintrc.json;h=ddb47174049aff56a7589146429e75c4e1660902;hb=42b8cf5cdca8eaab1e7442f7c92c2a5ed97434f6;hp=60c8eb08c41dc9771896a386df99d40336ac3d09;hpb=41a61e5b7df239abb8b5b597e64cc977e0c17d28;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.json b/.eslintrc.json index 60c8eb08..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, @@ -142,12 +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/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", + "plugin:@typescript-eslint/recommended-type-checked", + "plugin:@typescript-eslint/stylistic-type-checked", "plugin:import/typescript" ], "rules": {