File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ export default [
94
94
createTypeScriptImportResolver ({
95
95
alwaysTryTypes: true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
96
96
97
+ bun: true , // resolve Bun modules, defaults to false
98
+
97
99
// Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
98
100
99
101
// use <root>/path/to/folder/tsconfig.json
@@ -136,6 +138,8 @@ export default [
136
138
typescript: {
137
139
alwaysTryTypes: true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
138
140
141
+ bun: true , // resolve Bun modules, defaults to false
142
+
139
143
// Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
140
144
141
145
// use <root>/path/to/folder/tsconfig.json
@@ -186,6 +190,8 @@ Add the following to your `.eslintrc` config:
186
190
" typescript" : {
187
191
" alwaysTryTypes" : true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
188
192
193
+ " bun" : true , // resolve Bun modules, defaults to false
194
+
189
195
// Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
190
196
191
197
// use <root>/path/to/folder/tsconfig.json
You can’t perform that action at this time.
0 commit comments