PR #886 (closing #880) added documentation for oxlint.config.ts to the Configuration guide, but the Config file reference page was not updated.
The reference page currently:
- Opens with a NOTE saying "Only the
.json format is supported" — which is no longer true
- Shows only
.oxlintrc.json examples throughout
- Has no mention of
defineConfig or the TypeScript config format
- Does not show how each field looks when written in
oxlint.config.ts
Maybe it's worth adding a switcher between different config formats using tabs? Like on https://oxc.rs/docs/guide/usage/linter/quickstart.html#install for switching between npm, pnpm, yarn, bun.
PR #886 (closing #880) added documentation for
oxlint.config.tsto the Configuration guide, but the Config file reference page was not updated.The reference page currently:
.jsonformat is supported" — which is no longer true.oxlintrc.jsonexamples throughoutdefineConfigor the TypeScript config formatoxlint.config.tsMaybe it's worth adding a switcher between different config formats using tabs? Like on https://oxc.rs/docs/guide/usage/linter/quickstart.html#install for switching between npm, pnpm, yarn, bun.