Skip to content

Commit

Permalink
remove more "harmless" checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pahjbo committed Aug 27, 2024
1 parent fd4fdd5 commit 1eb5e2d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ export default tseslint.config(
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
{
// these are overriding good style for now to reduce the error count
files: ["src/**/*.ts"],
// these are overriding good style for now to reduce the error count - the intention is to reintroduce gradually
rules : {
"prefer-const": "off",
"@typescript-eslint/consistent-type-assertions": "off"
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
"no-array-constructor": "off", // see https://typescript-eslint.io/rules/no-array-constructor/
"@typescript-eslint/no-array-constructor": "off"
}
}

Expand Down

0 comments on commit 1eb5e2d

Please sign in to comment.