Skip to content

Commit 41b13be

Browse files
committed
1 parent fec6c72 commit 41b13be

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

eslint.config.js

+13-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,19 @@ export default [
3636
},
3737
settings: {
3838
"import/internal-regex": "^@/",
39-
"import/resolver": { node: true, typescript: true },
39+
"import/resolver": {
40+
node: true,
41+
typescript: {
42+
project: [
43+
"tsconfig.json",
44+
"packages/*/tsconfig.json",
45+
46+
// Specify the app JSON as an workaround for this bug
47+
// https://github.com/import-js/eslint-import-resolver-typescript/issues/94
48+
"tsconfig.app.json",
49+
],
50+
},
51+
},
4052
},
4153
},
4254

@@ -76,7 +88,6 @@ export default [
7688
projectService: {
7789
allowDefaultProject: [".storybook/*.js", "*.js"],
7890
},
79-
tsconfigRootDir: import.meta.dirname,
8091
},
8192
},
8293
rules: {

0 commit comments

Comments
 (0)