Skip to content

Commit 27c2372

Browse files
committed
fix: disable tsconfig resolution on config loading, close eslint#52
1 parent b4528c3 commit 27c2372

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export async function readConfig(
9797
const { mod, dependencies } = await bundleRequire({
9898
filepath: configPath,
9999
cwd: basePath,
100+
tsconfig: false,
100101
})
101102

102103
let rawConfigs = await (mod.default ?? mod) as FlatConfigItem[]

0 commit comments

Comments
 (0)