Skip to content

Commit

Permalink
feat!: upgrade to @typescript-eslint/eslint-plugin v7.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 3, 2024
1 parent 4c7971f commit 4c38dba
Show file tree
Hide file tree
Showing 3 changed files with 9,611 additions and 750 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,26 +72,12 @@ module.exports = {
"no-empty-function": "warn", // Note: has a TS extension
"no-empty-pattern": "warn",
"no-ex-assign": "warn",
"no-extra-semi": "warn", // Note: has a TS extension
"no-func-assign": "warn",
"no-global-assign": "error",
"no-import-assign": "error",
"no-invalid-regexp": "error",
"no-loss-of-precision": "warn", // Note: has a TS extension
"no-misleading-character-class": "warn",
// https://github.com/facebook/create-react-app/blob/a422bf227cf5294a34d68696664e9568a152fd8f/packages/eslint-config-react-app/index.js#L130-L141
"no-mixed-operators": [
"warn",
{
groups: [
["&", "|", "^", "~", "<<", ">>", ">>>"],
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"],
],
allowSamePrecedence: false,
},
],
"no-new-symbol": "error",
"no-nonoctal-decimal-escape": "warn",
"no-obj-calls": "error",
Expand Down Expand Up @@ -202,9 +188,6 @@ module.exports = {
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "warn",

"no-extra-semi": "off",
"@typescript-eslint/no-extra-semi": "warn",

"no-loss-of-precision": "off",
"@typescript-eslint/no-loss-of-precision": "warn",

Expand Down

0 comments on commit 4c38dba

Please sign in to comment.