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
Update src/charging-station/ChargingStation.ts
[e-mobility-charging-stations-simulator.git]
/
.eslintrc.json
diff --git
a/.eslintrc.json
b/.eslintrc.json
index b9b190f5146555b6aaf54eafe21321b8b8c128c1..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"],
@@
-90,7
+91,7
@@
"no-var": "error",
"prefer-const": "error",
"sort-imports": [
"no-var": "error",
"prefer-const": "error",
"sort-imports": [
- "
warn
",
+ "
error
",
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
@@
-99,7
+100,6
@@
"allowSeparatedGroups": true
}
],
"allowSeparatedGroups": true
}
],
- "import/no-unresolved": "error",
"import/order": [
"error",
{
"import/order": [
"error",
{
@@
-167,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": {