From 3c445595c64b5e71a9c0e50a6161a0695c92f5ed Mon Sep 17 00:00:00 2001 From: Lee Robinson Date: Tue, 28 Jan 2025 15:33:00 -0600 Subject: [PATCH] create-next-app: default to ESLint disabled (#73864) You can optionally enable it, if desired, but this gives you one less config file by default. --- packages/create-next-app/index.ts | 2 +- test/integration/create-next-app/prompts.test.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/create-next-app/index.ts b/packages/create-next-app/index.ts index 42c6b7d63c467..d621f52e3f748 100644 --- a/packages/create-next-app/index.ts +++ b/packages/create-next-app/index.ts @@ -227,7 +227,7 @@ async function run(): Promise { if (!example) { const defaults: typeof preferences = { typescript: true, - eslint: true, + eslint: false, tailwind: true, app: true, srcDir: false, diff --git a/test/integration/create-next-app/prompts.test.ts b/test/integration/create-next-app/prompts.test.ts index 0a790abc61efc..4b6afc90f27be 100644 --- a/test/integration/create-next-app/prompts.test.ts +++ b/test/integration/create-next-app/prompts.test.ts @@ -194,7 +194,6 @@ describe('create-next-app prompts', () => { projectName, files: [ 'app', - 'eslint.config.mjs', 'package.json', 'postcss.config.mjs', 'tsconfig.json',