Skip to content

chore: relax noUnusedLocals/noUnusedParameters in vite starters#115

Merged
kocopelly merged 1 commit into
mainfrom
kj/relax-tsconfig-unused-starters
Jul 17, 2026
Merged

chore: relax noUnusedLocals/noUnusedParameters in vite starters#115
kocopelly merged 1 commit into
mainfrom
kj/relax-tsconfig-unused-starters

Conversation

@kocopelly

Copy link
Copy Markdown
Contributor

Summary

Disables noUnusedLocals and noUnusedParameters in the TypeScript configs of the bolt-vite-react-ts and vite-shadcn starters (both tsconfig.app.json and tsconfig.node.json).

Unused-local / unused-parameter (TS6133 / TS6196) is the single most common build failure in agent-generated projects in Bolt — models routinely leave an unused import or arg, which is a harmless warning-class error that shouldn't fail the build. This matches bolt-slides, whose tsconfig.json already has both disabled.

Scope

Only the two vite starters set these flags today; the other Bolt starters here either don't set them or already have them off, so nothing else changes.

Rollout note

Bolt bakes these templates from a pinned commit in templates.json. Once this merges, a follow-up bolt PR bumps that pinned SHA so both the client-side chooser and the agent-driven use_template flow pick up the change.

🤖 Generated with Claude Code

Unused-local/param (TS6133/TS6196) is the single most common build
failure in agent-generated projects. It's a harmless warning-class
error that shouldn't break the build, so disable both checks in the
vite react and shadcn starter tsconfigs (bolt-slides is already relaxed).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@julionav
julionav requested a review from EricSimons July 17, 2026 23:46
@kocopelly
kocopelly merged commit 3af8e29 into main Jul 17, 2026
2 of 4 checks passed
@kocopelly
kocopelly deleted the kj/relax-tsconfig-unused-starters branch July 17, 2026 23:51
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.

3 participants