@@ -96,7 +96,7 @@ export default [
9696 createTypeScriptImportResolver ({
9797 alwaysTryTypes: true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
9898
99- bun: true , // resolve Bun modules, defaults to false
99+ bun: true , // resolve Bun modules https://github.com/import-js/eslint-import-resolver-typescript#bun
100100
101101 // Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
102102
@@ -140,7 +140,7 @@ export default [
140140 typescript: {
141141 alwaysTryTypes: true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
142142
143- bun: true , // resolve Bun modules, defaults to false
143+ bun: true , // resolve Bun modules https://github.com/import-js/eslint-import-resolver-typescript#bun
144144
145145 // Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
146146
@@ -192,7 +192,7 @@ Add the following to your `.eslintrc` config:
192192 " typescript" : {
193193 " alwaysTryTypes" : true , // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
194194
195- " bun" : true , // resolve Bun modules, defaults to false
195+ " bun" : true , // resolve Bun modules https://github.com/import-js/eslint-import-resolver-typescript#bun
196196
197197 // Choose from one of the "project" configs below or omit to use <root>/tsconfig.json by default
198198
@@ -230,7 +230,7 @@ Add the following to your `.eslintrc` config:
230230
231231[ Bun] ( https://bun.sh/ ) provides built-in modules such as ` bun:test ` , which are not resolved by default.
232232
233- Enable Bun built-in module resolution by choosing one of these 3 options:
233+ Enable Bun built-in module resolution by choosing 1 out of these 3 options:
234234
235235- Set the ` bun: true ` option, as shown in [ Configuration] ( #configuration ) above
236236- Run ESLint with ` bun --bun eslint `
0 commit comments