Skip to content

Commit

Permalink
chore(eslint): use typescript strict linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertHernandez committed Nov 23, 2024
1 parent 0dfab0a commit 8ae5e5b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"plugins": ["@typescript-eslint", "simple-import-sort"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:prettier/recommended",
"plugin:unicorn/recommended",
"plugin:node/recommended"
Expand All @@ -28,7 +28,11 @@
{ "ignores": ["modules"] }
],
"node/no-unpublished-import": "off",
"no-process-exit": "off"
"no-process-exit": "off",
"@typescript-eslint/restrict-template-expressions": [
"error",
{ "allowNumber": true }
]
},
"overrides": [
{
Expand All @@ -54,6 +58,10 @@
]
}
},
{
"files": ["*.js", "*.mjs", "*.cjs"],
"extends": ["plugin:@typescript-eslint/disable-type-checked"]
},
{
"files": ["playground/**"],
"rules": {
Expand Down

0 comments on commit 8ae5e5b

Please sign in to comment.