Skip to content

Commit

Permalink
fix: configure import resolvers correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed May 23, 2022
1 parent 8299295 commit 0e8d00d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts"],
"@typescript-eslint/parser": [".ts", ".tsx"],
},
"import/resolver": {
typescript: {
Expand Down
35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@typescript-eslint/parser": "^5.20.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-node": "^11.1.0",
Expand All @@ -34,6 +35,7 @@
"@typescript-eslint/parser": "^5.20.0",
"eslint": ">=8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-node": "^11.1.0",
Expand Down

0 comments on commit 0e8d00d

Please sign in to comment.