feat: add option to ignore build errors #2139
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
--ignoreBuildErrorsCLI flag for CI usage - Automatically configures
next.config.jswith 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,
}
🦋 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
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| create-t3-app | Oct 10, 2025 10:39pm |
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:
--ignoreBuildErrorsflag does the trick - Only updates
next.config.jsif you say "yes" - no surprises!
When enabled, your Next.js config gets:
// Peaceful development mode activated! 🕊️
typescript: { ignoreBuildErrors: true },
eslint: { ignoreDuringBuilds: true }