Skip to content

fix(create): make eslint scaffolds pass out of the box#385

Merged
tannerlinsley merged 2 commits intomainfrom
fix/lint-toolchain-reliability
Feb 17, 2026
Merged

fix(create): make eslint scaffolds pass out of the box#385
tannerlinsley merged 2 commits intomainfrom
fix/lint-toolchain-reliability

Conversation

@tannerlinsley
Copy link
Member

Summary

  • harden generated eslint config templates (React/Solid) to avoid known resolver/workspace-specific failures in fresh non-workspace apps
  • disable problematic default rules for scaffolded starters (import/no-cycle, pnpm/json-enforce-catalog, and strict ordering/style rules that fail generated starter code)
  • ignore eslint.config.js and prettier.config.js in generated lint runs to avoid parser project mismatch noise
  • update shadcn React utility template to use top-level type import for ClassValue

Validation

  • pnpm --filter @tanstack/create test
  • scaffold repro app: --toolchain eslint --add-ons netlify,shadcn,tanstack-query
  • in generated app: npm install && npm run lint (passes)

Fixes #148
Fixes #159

Release note

  • intentionally no changeset in this PR; batching release entries together as requested

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.

pnpm/json-enforce-catalog rule throws pnpm-workspace.yaml not found ESLint error for import cycle when using create-tsrouter-app

1 participant

Comments