Skip to content

Commit

Permalink
fix: eslint type import
Browse files Browse the repository at this point in the history
  • Loading branch information
pooriamehregan committed Jan 18, 2023
1 parent 661da7c commit c12002d
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 66 deletions.
19 changes: 16 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"prettier",
"jsx-a11y",
"eslint-comments",
"react-hooks"
"react-hooks",
"import"
],
"rules": {
"prettier/prettier": [
Expand Down Expand Up @@ -127,7 +128,8 @@
"specialLink": ["hrefLeft", "hrefRight", "to"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
]
],
"import/no-unresolved": "error"
},
"overrides": [
{
Expand All @@ -149,5 +151,16 @@
"@typescript-eslint/no-non-null-assertion": "off"
}
}
]
],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"project": "tsconfig.json"
}
}
}
}

0 comments on commit c12002d

Please sign in to comment.