Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Update shouldUseFlatConfig and CLI so flat config is default #17748

Merged
merged 13 commits into from
Dec 20, 2023
Prev Previous commit
Next Next commit
Fix lint warning
  • Loading branch information
nzakas committed Dec 20, 2023
commit 728b4bc10f88fbc09a902691134af8ffa5537bfe
1 change: 0 additions & 1 deletion tests/lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ describe("cli", () => {

it(`should execute without any errors with configType:${configType}`, async () => {
const filePath = getFixturePath("passing.js");
const flag = useFlatConfig ? "--no-config-lookup" : "--no-eslintrc";
const exit = await cli.execute(`--no-ignore -f json-with-metadata ${filePath} ${flag}`, null, useFlatConfig);

assert.strictEqual(exit, 0);
Expand Down