Skip to content

Commit

Permalink
Use TypeScript for information on unused variables instead of @typesc…
Browse files Browse the repository at this point in the history
…ript-eslint because the latter is pretty slow at it.
  • Loading branch information
cpojer committed Jul 12, 2023
1 parent 0e55bfe commit 62d2a1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Expand Up @@ -40,7 +40,7 @@ module.exports = {
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-namespace': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-unused-vars': ['error'],
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-var-requires': 0,
'array-bracket-spacing': [2, 'never'],
'arrow-parens': [2, 'always'],
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Expand Up @@ -10,6 +10,7 @@
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"noUnusedLocals": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
Expand Down

0 comments on commit 62d2a1c

Please sign in to comment.