X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.json;h=ef726dc74bd594c4a3658dd62c47438ec021aaff;hb=3fa7f79999c26d0783d13cbae7c038c840fdd303;hp=9227eed54551d8c9926d755971dc4511b9b34e05;hpb=653b69b42ae1e4bb1aec29dcb5e901ab3f83fada;p=e-mobility-charging-stations-simulator.git diff --git a/.eslintrc.json b/.eslintrc.json index 9227eed5..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", "**/*.mjs"], + "files": ["**/*.js", "**/*.cjs", "**/*.mjs"], "plugins": ["jsdoc"], "extends": ["plugin:jsdoc/recommended", "plugin:n/recommended"], "rules": {