update changelog
[squeep-api-dingus] / .eslintrc.json
index 7602b332d7b5a2ab2fe18bdd9faf9ed992475a66..ca422369e132e8ebf2b3b7b8d845a2bad79e26af 100644 (file)
@@ -2,6 +2,7 @@
   "env": {
     "browser": false,
     "es6": true,
+    "es2023": true,
     "node": true
   },
   "extends": [
@@ -11,7 +12,7 @@
     "plugin:sonarjs/recommended"
   ],
   "parserOptions": {
-    "ecmaVersion": 2018
+    "ecmaVersion": 2023
   },
   "plugins": [
     "node",
       "error",
       "last"
     ],
+    "indent": [
+      "warn",
+      2,
+      {
+        "SwitchCase": 1
+      }
+    ],
     "sonarjs/cognitive-complexity": "warn",
     "keyword-spacing": "error",
     "linebreak-style": [
       "error",
       "single"
     ],
+    "semi": [
+      "error",
+      "always"
+    ],
     "strict": "error",
     "vars-on-top": "error"
   }
-}
\ No newline at end of file
+}