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(simulator): apply updates
[e-mobility-charging-stations-simulator.git]
/
.eslintrc.json
diff --git
a/.eslintrc.json
b/.eslintrc.json
index 27d9f65b987d51ed54c8de4c94c58c633655ffdd..fe42d4cb1f2f15c4e3586db6f1e6606664dae835 100644
(file)
--- a/
.eslintrc.json
+++ b/
.eslintrc.json
@@
-1,12
+1,12
@@
{
"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"],
@@
-14,7
+14,7
@@
"settings": {
"import/resolver": {
"typescript": {
"settings": {
"import/resolver": {
"typescript": {
- "project": "./tsconfig.json"
+ "project": "./tsconfig
-base
.json"
}
}
},
}
}
},
@@
-84,7
+84,6
@@
"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", "always"],
"arrow-spacing": "error",
"no-duplicate-imports": "error",
"arrow-parens": ["error", "always"],
"arrow-spacing": "error",
"no-duplicate-imports": "error",
@@
-143,7
+142,7
@@
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
- "project": "./tsconfig.json"
+ "project": "./tsconfig
-base
.json"
},
"plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"],
"extends": [
},
"plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"],
"extends": [
@@
-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": {