repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): apply updates
[e-mobility-charging-stations-simulator.git]
/
.eslintrc.json
diff --git
a/.eslintrc.json
b/.eslintrc.json
index 8b10dc67bc7b4f510e918775b1fe6fdbbc3c23e2..ef726dc74bd594c4a3658dd62c47438ec021aaff 100644
(file)
--- a/
.eslintrc.json
+++ b/
.eslintrc.json
@@
-1,12
+1,13
@@
{
{
+ "$schema": "https://json.schemastore.org/eslintrc",
"root": true,
"env": {
"root": true,
"env": {
- "es202
0
": true,
+ "es202
2
": true,
"node": true,
"mocha": true
},
"parserOptions": {
"node": true,
"mocha": true
},
"parserOptions": {
- "ecmaVersion": 202
0
,
+ "ecmaVersion": 202
2
,
"sourceType": "module"
},
"plugins": ["import"],
"sourceType": "module"
},
"plugins": ["import"],
@@
-84,14
+85,13
@@
"space-unary-ops": "error",
"spaced-comment": ["error", "always"],
"switch-colon-spacing": "error",
"space-unary-ops": "error",
"spaced-comment": ["error", "always"],
"switch-colon-spacing": "error",
- "arrow-body-style": ["error", "as-needed"],
- "arrow-parens": ["error", "as-needed"],
+ "arrow-parens": ["error", "always"],
"arrow-spacing": "error",
"no-duplicate-imports": "error",
"no-var": "error",
"prefer-const": "error",
"sort-imports": [
"arrow-spacing": "error",
"no-duplicate-imports": "error",
"no-var": "error",
"prefer-const": "error",
"sort-imports": [
- "
warn
",
+ "
error
",
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
@@
-100,7
+100,6
@@
"allowSeparatedGroups": true
}
],
"allowSeparatedGroups": true
}
],
- "import/no-unresolved": "error",
"import/order": [
"error",
{
"import/order": [
"error",
{
@@
-168,7
+167,7
@@
}
},
{
}
},
{
- "files": ["**/*.js"],
+ "files": ["**/*.js"
, "**/*.cjs", "**/*.mjs"
],
"plugins": ["jsdoc"],
"extends": ["plugin:jsdoc/recommended", "plugin:n/recommended"],
"rules": {
"plugins": ["jsdoc"],
"extends": ["plugin:jsdoc/recommended", "plugin:n/recommended"],
"rules": {