Skip to content

Commit c76fd28

Browse files
committed
test: disable new failing default typescript eslint rules to allow upgrading
The latest major (v6) of the typescript eslint plugin contains several new rule defaults that currently cause errors in the repository code while linting. To facilitate an upgrade, these rules are now preemptively disabled. Once the update is complete, these rules can be evaluated for inclusion. The rules are as follows: * @typescript-eslint/no-unsafe-enum-comparison * @typescript-eslint/no-redundant-type-constituents * @typescript-eslint/no-base-to-string
1 parent 7160fc0 commit c76fd28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@
103103
"@typescript-eslint/require-await": "off",
104104
"@typescript-eslint/restrict-plus-operands": "off",
105105
"@typescript-eslint/restrict-template-expressions": "off",
106-
"@typescript-eslint/unbound-method": "off"
106+
"@typescript-eslint/unbound-method": "off",
107+
"@typescript-eslint/no-unsafe-enum-comparison": "off",
108+
"@typescript-eslint/no-redundant-type-constituents": "off",
109+
"@typescript-eslint/no-base-to-string": "off"
107110
},
108111
"overrides": [
109112
{

0 commit comments

Comments
 (0)