create-t3-app icon indicating copy to clipboard operation
create-t3-app copied to clipboard

feat: add option to ignore build errors #2139

Open DipakHalkude opened this issue 2 months ago • 3 comments

feat: Add option to ignore build errors #2139

Description

This PR adds a new configuration option that allows users to ignore TypeScript and ESLint build errors during the project creation process.

Changes

  • Added interactive prompt during project creation asking "Would you like to ignore TypeScript and ESLint build errors?"
  • Added --ignoreBuildErrors CLI flag for CI usage
  • Automatically configures next.config.js with the appropriate settings when selected
  • Works for both App Router and Pages Router

Configuration Added

When selected, adds to next.config.js:

typescript: {
  ignoreBuildErrors: true,
},
eslint: {
  ignoreDuringBuilds: true,
}

DipakHalkude avatar Oct 10 '25 22:10 DipakHalkude

🦋 Changeset detected

Latest commit: 1ad644c05a29ee71f14cfae984922b9266ce9d82

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
create-t3-app Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Oct 10 '25 22:10 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
create-t3-app Error Error Oct 10, 2025 10:39pm

vercel[bot] avatar Oct 10 '25 22:10 vercel[bot]

Hey maintainers! 👋 @c-ehrlich @juliusmarminge @nexxeln @t3dotgg

Excited to share this new addition to create-t3-app! This PR brings a much-requested feature from issue #2139 - giving users control over build error handling.

What's New

Smart Build Error Management

  • Users now get asked during setup: "Want to skip TypeScript and ESLint build errors?"
  • Perfect for when you're prototyping or dealing with legacy code
  • Your build process, your rules!

How It Works

🚀 Flexible & Optional

  • Adds a simple yes/no question in the setup flow
  • For CI lovers: --ignoreBuildErrors flag does the trick
  • Only updates next.config.js if you say "yes" - no surprises!

When enabled, your Next.js config gets:

// Peaceful development mode activated! 🕊️
typescript: { ignoreBuildErrors: true },
eslint: { ignoreDuringBuilds: true }

DipakHalkude avatar Oct 10 '25 22:10 DipakHalkude