We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a4fb4 commit 5e84926Copy full SHA for 5e84926
.eslintrc.cjs
@@ -50,7 +50,15 @@ const config = {
50
"newlines-between": "always",
51
},
52
],
53
+ "no-restricted-syntax": [
54
+ "error",
55
+ {
56
+ selector: "CallExpression[callee.property.name='push'] > SpreadElement.arguments",
57
+ message: "Do not use spread arguments in Array#push",
58
+ },
59
+ ],
60
"no-undef": "off",
61
+ "object-shorthand": "error",
62
"sonarjs/cognitive-complexity": "off",
63
"sonarjs/no-duplicate-string": "off",
64
"sort-destructure-keys/sort-destructure-keys": "error",
0 commit comments