Skip to content

Commit

Permalink
feat(eslint): enable @typescript-eslint/no-misused-spread
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Jan 14, 2025
1 parent 01fcdee commit 97adad0
Show file tree
Hide file tree
Showing 3 changed files with 356 additions and 305 deletions.
1 change: 1 addition & 0 deletions cfg/eslint-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ module.exports = {
},
],
'@typescript-eslint/no-misused-new': 2,
'@typescript-eslint/no-misused-spread': 2,
'@typescript-eslint/no-non-null-asserted-optional-chain': 2,
'@typescript-eslint/no-unused-expressions': 2,
'@typescript-eslint/prefer-as-const': 2,
Expand Down
7 changes: 5 additions & 2 deletions src/test/cfg/eslint.config.dump.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"0": ".vue",
"1": ".html"
},
"parser": "typescript-eslint/parser@8.19.0",
"parser": "typescript-eslint/parser@8.20.0",
"project": "tsconfig.json"
},
"sourceType": "module"
Expand All @@ -18,7 +18,7 @@
},
"plugins": [
"@",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.19.0",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.20.0",
"unicorn:[email protected]",
"vue:[email protected]",
"import-x",
Expand Down Expand Up @@ -360,6 +360,9 @@
"@typescript-eslint/no-misused-promises": [
0
],
"@typescript-eslint/no-misused-spread": [
2
],
"@typescript-eslint/no-mixed-enums": [
2
],
Expand Down
Loading

0 comments on commit 97adad0

Please sign in to comment.