Skip to content

Commit e6b5baf

Browse files
committed
test(config): properly ignore project's eslint config
1 parent b672281 commit e6b5baf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/config.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ describe("recommended config", () => {
2020

2121
it("flat", async () => {
2222
const results = await new ESLint({
23-
// Use `overrideConfig` so it ignores the project's config
24-
// FIX: Seems to merge, not replace
23+
// Use `overrideConfig` and `overrideConfigFile: true` to ignore the project's config
24+
overrideConfigFile: true,
2525
overrideConfig: [plugin.configs.recommended],
2626
}).lintText(code);
2727

0 commit comments

Comments
 (0)