We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b672281 commit e6b5bafCopy full SHA for e6b5baf
test/config.test.js
@@ -20,8 +20,8 @@ describe("recommended config", () => {
20
21
it("flat", async () => {
22
const results = await new ESLint({
23
- // Use `overrideConfig` so it ignores the project's config
24
- // FIX: Seems to merge, not replace
+ // Use `overrideConfig` and `overrideConfigFile: true` to ignore the project's config
+ overrideConfigFile: true,
25
overrideConfig: [plugin.configs.recommended],
26
}).lintText(code);
27
0 commit comments