projects
/
squeep-api-dingus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changelog
[squeep-api-dingus]
/
.eslintrc.json
diff --git
a/.eslintrc.json
b/.eslintrc.json
index 7602b332d7b5a2ab2fe18bdd9faf9ed992475a66..ca422369e132e8ebf2b3b7b8d845a2bad79e26af 100644
(file)
--- a/
.eslintrc.json
+++ b/
.eslintrc.json
@@
-2,6
+2,7
@@
"env": {
"browser": false,
"es6": true,
"env": {
"browser": false,
"es6": true,
+ "es2023": true,
"node": true
},
"extends": [
"node": true
},
"extends": [
@@
-11,7
+12,7
@@
"plugin:sonarjs/recommended"
],
"parserOptions": {
"plugin:sonarjs/recommended"
],
"parserOptions": {
- "ecmaVersion": 20
18
+ "ecmaVersion": 20
23
},
"plugins": [
"node",
},
"plugins": [
"node",
@@
-56,6
+57,13
@@
"error",
"last"
],
"error",
"last"
],
+ "indent": [
+ "warn",
+ 2,
+ {
+ "SwitchCase": 1
+ }
+ ],
"sonarjs/cognitive-complexity": "warn",
"keyword-spacing": "error",
"linebreak-style": [
"sonarjs/cognitive-complexity": "warn",
"keyword-spacing": "error",
"linebreak-style": [
@@
-76,7
+84,11
@@
"error",
"single"
],
"error",
"single"
],
+ "semi": [
+ "error",
+ "always"
+ ],
"strict": "error",
"vars-on-top": "error"
}
"strict": "error",
"vars-on-top": "error"
}
-}
\ No newline at end of file
+}