Skip to content

Commit

Permalink
create-next-app: default to ESLint disabled (#73864)
Browse files Browse the repository at this point in the history
You can optionally enable it, if desired, but this gives you one less
config file by default.
  • Loading branch information
leerob authored Jan 28, 2025
1 parent 3162fcd commit 3c44559
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-next-app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async function run(): Promise<void> {
if (!example) {
const defaults: typeof preferences = {
typescript: true,
eslint: true,
eslint: false,
tailwind: true,
app: true,
srcDir: false,
Expand Down
1 change: 0 additions & 1 deletion test/integration/create-next-app/prompts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ describe('create-next-app prompts', () => {
projectName,
files: [
'app',
'eslint.config.mjs',
'package.json',
'postcss.config.mjs',
'tsconfig.json',
Expand Down

0 comments on commit 3c44559

Please sign in to comment.