Skip to content

Commit

Permalink
style(import sorting): add explicit extensions and parsers
Browse files Browse the repository at this point in the history
- define settings more explicitly for the eslint import plugin
  to achieve better results
  • Loading branch information
donni106 authored and Julian Kwast committed Jun 22, 2021
1 parent 12b0534 commit 0e133db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,12 @@ rules:
settings:
react:
version: detect
import/extensions:
- .js
- .jsx
- .ts
- .tsx
import/parsers:
'@typescript-eslint/parser':
- .ts
- .tsx

0 comments on commit 0e133db

Please sign in to comment.