Skip to content

Commit

Permalink
chore: add tsx to eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeIlLeone committed Aug 22, 2023
1 parent 995b76b commit 5db4994
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ rules:
"@typescript-eslint/no-unused-vars": error

overrides:
- files: "**/*.ts"
- files: "**/*.{ts,tsx}"
extends: eslint-config-dmitmel/presets/typescript-addon
rules:
node/no-missing-import: off
Expand All @@ -45,13 +45,13 @@ overrides:
no-void: off
consistent-return: off

- files: "**/src/**/*.ts"
- files: "**/src/**/*.{ts,tsx}"
extends: eslint-config-dmitmel/rules/typescript/with-type-checking

- files: "**/*.d.ts"
rules:
no-var: off

- files: "src/**/*.ts"
- files: "src/**/*.{ts,tsx}"
parserOptions:
project: tsconfig.json

0 comments on commit 5db4994

Please sign in to comment.