TanStack / TanStack/cli

feat(tooling): add linter/formatter add-ons with preset selection

Open
#510 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
185
Avg merge
18h 45m
Merged PRs (30d)
2

Description

Which project does this relate to?

Create TanStack App

Describe the feature

It would be nice if Create TanStack App could offer linter and formatter add-ons during project creation, with an optional second step for choosing a preset or setup.

For example:

? Select a linter / formatter
❯ Biome
  Oxlint + Oxfmt
  ESLint + Prettier
  None

? Select a preset
❯ Recommended
  Ultracite
  Custom

The available presets could depend on what the user selected.

For example, selecting Biome could show:

? Select a Biome preset
❯ Recommended
  Ultracite
  None

While selecting ESLint could show:

? Select an ESLint setup
❯ Recommended
  Ultracite
  None

The selected setup should install the required dependencies and generate the appropriate configuration files and scripts.

Why

This would make popular linting and formatting setups much easier to choose when creating a new TanStack project.

It would also make setups like Biome + Ultracite or Oxlint + Oxfmt first class options instead of requiring users to configure them manually after creating the project.

Ideally this could build on the existing add-on and options system so that new tools and presets can be added without hardcoding everything into the CLI.

Example use cases

  • Biome → recommended configuration
  • Biome → Ultracite
  • Biome → no preset
  • Oxlint + Oxfmt → recommended configuration
  • Oxlint + Oxfmt → Ultracite
  • Oxlint + Oxfmt → no preset
  • ESLint → recommended configuration
  • ESLint → Ultracite
  • ESLint → no preset
  • Prettier → standalone formatter
  • Oxfmt → standalone formatter

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing add-on and options system in Create TanStack App, then trace how project-creation prompts currently install dependencies and generate configuration files and scripts. Done means linter/formatter and preset selections work through the CLI, with dependent options, required packages, configuration files, and scripts generated for the listed setups.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.