Skip to content

Commit

Permalink
update eslint overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
dalejo96 committed Dec 22, 2023
1 parent 021344e commit 9c82f23
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"etc/throw-error": "off"
"etc/throw-error": "off",
"@typescript-eslint/no-namespace": "off"
}
},
{
"files": "*.typetest.ts?(x)",
"rules": {
"@typescript-eslint/ban-ts-comment": ["error", { "ts-expect-error": false }],
"etc/throw-error": "off"
"etc/throw-error": "off",
"@typescript-eslint/no-namespace": "off"
}
},
{
Expand Down Expand Up @@ -117,7 +119,7 @@
}
],
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-namespace": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-redundant-type-constituents": "error",
"@typescript-eslint/no-shadow": ["error", { "hoist": "all" }],
Expand Down

0 comments on commit 9c82f23

Please sign in to comment.