Skip to content

Commit

Permalink
🐳 chore: Update ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowflyt committed Nov 12, 2024
1 parent 91a4fb4 commit 5e84926
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,15 @@ const config = {
"newlines-between": "always",
},
],
"no-restricted-syntax": [
"error",
{
selector: "CallExpression[callee.property.name='push'] > SpreadElement.arguments",
message: "Do not use spread arguments in Array#push",
},
],
"no-undef": "off",
"object-shorthand": "error",
"sonarjs/cognitive-complexity": "off",
"sonarjs/no-duplicate-string": "off",
"sort-destructure-keys/sort-destructure-keys": "error",
Expand Down

0 comments on commit 5e84926

Please sign in to comment.