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 [
9494 createTypeScriptImportResolver ({
9595 alwaysTryTypes: true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
9696
97+ bun: true , // resolve Bun modules, defaults to false
98+
9799 // Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
98100
99101 // use <root>/path/to/folder/tsconfig.json
@@ -136,6 +138,8 @@ export default [
136138 typescript: {
137139 alwaysTryTypes: true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
138140
141+ bun: true , // resolve Bun modules, defaults to false
142+
139143 // Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
140144
141145 // use <root>/path/to/folder/tsconfig.json
@@ -186,6 +190,8 @@ Add the following to your `.eslintrc` config:
186190 " typescript" : {
187191 " alwaysTryTypes" : true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
188192
193+ " bun" : true , // resolve Bun modules, defaults to false
194+
189195 // Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
190196
191197 // use <root>/path/to/folder/tsconfig.json
You can’t perform that action at this time.
0 commit comments