Skip to content

Conversation

DipakHalkude
Copy link

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,
}

Copy link

changeset-bot bot commented Oct 10, 2025

🦋 Changeset detected

Latest commit: 1ad644c

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

Copy link

vercel bot commented Oct 10, 2025

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

- Add interactive prompt for ignoring TypeScript/ESLint build errors
- Add --ignoreBuildErrors CLI flag for CI usage
- Conditionally update next.config.js with ignore options
- Works for both App Router and Pages Router
- Add changeset for minor version bump
@DipakHalkude
Copy link
Author

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 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant