Skip to content

Config-file-reference page not updated for oxlint.config.ts #950

@rakleed

Description

@rakleed

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions