Skip to content

Commit

Permalink
fix eslint resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
christophertorres1 committed Dec 6, 2024
1 parent 8aec08e commit 0100f04
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://docs.expo.dev/guides/using-eslint/
module.exports = {
extends: ['expo', 'prettier', 'eslint:recommended'],
plugins: ['prettier', '@typescript-eslint'],
plugins: ['prettier', '@typescript-eslint', 'import'],
parser: '@typescript-eslint/parser',
env: {
node: true,
Expand All @@ -18,13 +18,6 @@ module.exports = {
alwaysTryTypes: true,
project: './tsconfig.json',
},
alias: {
map: [
['@', './src'],
['~', './'],
],
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
},
},
},
};
15 changes: 15 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 @@ -76,8 +76,10 @@
"eslint": "^8.57.1",
"eslint-config-expo": "~8.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-expo": "^0.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.0.0",
"glob": "^11.0.0",
Expand Down

0 comments on commit 0100f04

Please sign in to comment.