Skip to content

linter: Fix/write config docs for rules that take tuple options #16023

@connorshea

Description

@connorshea

What version of Oxlint are you using?

1.29.0

What command did you run?

N/A

What does your .oxlintrc.json config file look like?

N/A

What happened?

We were previously unable to accurately represent the options available for rules that took tuple values, and so our docs are wrong for a few rules. Currently, the docs treat options which need to be passed as ["error", "asc", { "allowLineSeparatedGroups": true }] such that they render in the docs as just a property of the object you pass, rather than an ordered parameter.

Thanks to #15904, we can now fix this problem for the following rules by either fixing their config docs, or adding them:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linterArea - LinterC-docsCategory - Documentation. Related to user-facing or internal documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions