Skip to content
Source
Sign inSign up
TanStack/cli

Feat/oxlint toolchain #524

OpenAustinDavisTech(GitHub profile, opens in a new tab)wants to merge 7 commits intomain fromrefs/pull/524/headopened

Showing 23 changed files with 13 additions and 2 deletions (loading 20).

x
0 of 23 viewed, 23 left
7 additions and 0 deletions.changeset/oxlint-toolchain.mdAdded
View file
@@ -0,0 +1,7 @@
+---
+'@tanstack/cli': minor
+'@tanstack/create': minor
+---
+​
+Add Oxlint as a toolchain option for React and Solid scaffolds. It generates an
+`.oxlintrc.json` with a `lint` script.
3 additions and 1 deletioncli-aliases/create-start-app/README.mdModified
View file
@@ -37,7 +37,7 @@
Available options:
​
- `--package-manager`: Specify your preferred package manager (`npm`, `yarn`, `pnpm`, `bun`, or `deno`)
-- `--toolchain`: Specify your toolchain solution for formatting/linting (`biome`, `eslint`)
+- `--toolchain`: Specify your toolchain solution for formatting/linting (`biome`, `eslint`, `oxlint`)
- `--no-git`: Do not initialize a git repository
- `--add-ons`: Enable add-on selection or specify add-ons to install
- `--tailwind` / `--no-tailwind`: Deprecated compatibility flags; accepted but ignored (Tailwind is always enabled)
@@ -66,6 +66,8 @@
​
Setting this flag to `eslint` will configure it as your toolchain of choice, adding an `eslint.config.js` and `prettier.config.js` to the root of the project, as well as a `.prettierignore` file. Consult the [eslint documentation](https://eslint.org/docs/latest/) and [prettier documentation](https://prettier.io/docs/) for further customization.
​
+Setting this flag to `oxlint` will configure it as your toolchain of choice, adding an `.oxlintrc.json` to the root of the project. Consult the [oxlint documentation](https://oxc.rs/docs/guide/usage/linter) for further customization.
+​
## Add-ons (experimental)
​
You can enable add-on selection: