X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.json;h=ef726dc74bd594c4a3658dd62c47438ec021aaff;hb=b1f1b0f6ea0a9a5da396e20083071857e40c538c;hp=f61fc080bd45c62d528d2947c4009d9942ca0ed9;hpb=c5f2c258852408a3b18c7a5b12d076b6b5728172;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.json b/.eslintrc.json index f61fc080..ef726dc7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/eslintrc", "root": true, "env": { "es2022": true, @@ -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", { @@ -167,7 +167,7 @@ } }, { - "files": ["**/*.js"], + "files": ["**/*.js", "**/*.cjs", "**/*.mjs"], "plugins": ["jsdoc"], "extends": ["plugin:jsdoc/recommended", "plugin:n/recommended"], "rules": {