X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.json;h=60c8eb08c41dc9771896a386df99d40336ac3d09;hb=f1fded7b31b8276a9e29e4e9f2208d81350ef027;hp=fe42d4cb1f2f15c4e3586db6f1e6606664dae835;hpb=0f113d68a22dd919877279d32d8d12058ec06cee;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.json b/.eslintrc.json index fe42d4cb..60c8eb08 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/eslintrc", "root": true, "env": { "es2022": true, @@ -14,7 +15,7 @@ "settings": { "import/resolver": { "typescript": { - "project": "./tsconfig-base.json" + "project": "./tsconfig.json" } } }, @@ -90,7 +91,7 @@ "no-var": "error", "prefer-const": "error", "sort-imports": [ - "warn", + "error", { "ignoreCase": false, "ignoreDeclarationSort": true, @@ -99,7 +100,6 @@ "allowSeparatedGroups": true } ], - "import/no-unresolved": "error", "import/order": [ "error", { @@ -142,11 +142,10 @@ "files": ["**/*.ts"], "parser": "@typescript-eslint/parser", "parserOptions": { - "project": "./tsconfig-base.json" + "project": "./tsconfig.json" }, "plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"], "extends": [ - "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "plugin:import/typescript"