refactor(simulator): constify and factor out empty data structure
[e-mobility-charging-stations-simulator.git] / .eslintrc.json
index 27d9f65b987d51ed54c8de4c94c58c633655ffdd..f61fc080bd45c62d528d2947c4009d9942ca0ed9 100644 (file)
@@ -1,12 +1,12 @@
 {
   "root": true,
   "env": {
-    "es2020": true,
+    "es2022": true,
     "node": true,
     "mocha": true
   },
   "parserOptions": {
-    "ecmaVersion": 2020,
+    "ecmaVersion": 2022,
     "sourceType": "module"
   },
   "plugins": ["import"],
@@ -84,7 +84,6 @@
     "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",