X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.json;h=2b20e8ddd73ad7fcd2b093ca2d138550bcb0e12e;hb=6501eda9e69fff639911308b3f2de26593ae18c9;hp=38c78361bb062bac85012393781c71e23914a60d;hpb=0bf7412ad3baaccb780dd936463cd0fa1fb63b97;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.json b/.eslintrc.json index 38c78361..2b20e8dd 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,5 @@ { - "$schema": "http://json.schemastore.org/eslintrc", + "$schema": "https://json.schemastore.org/eslintrc", "root": true, "env": { "es2022": true, @@ -15,7 +15,7 @@ "settings": { "import/resolver": { "typescript": { - "project": "./tsconfig-base.json" + "project": "./tsconfig.json" } } }, @@ -91,7 +91,7 @@ "no-var": "error", "prefer-const": "error", "sort-imports": [ - "warn", + "error", { "ignoreCase": false, "ignoreDeclarationSort": true, @@ -100,7 +100,6 @@ "allowSeparatedGroups": true } ], - "import/no-unresolved": "error", "import/order": [ "error", { @@ -143,13 +142,13 @@ "files": ["**/*.ts"], "parser": "@typescript-eslint/parser", "parserOptions": { - "project": "./tsconfig-base.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": {