docs: add commit activity to badges
[e-mobility-charging-stations-simulator.git] / .eslintrc.json
index fe42d4cb1f2f15c4e3586db6f1e6606664dae835..60c8eb08c41dc9771896a386df99d40336ac3d09 100644 (file)
@@ -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,
         "allowSeparatedGroups": true
       }
     ],
-    "import/no-unresolved": "error",
     "import/order": [
       "error",
       {
       "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"