Skip to content

linter: Report errors / warning for misconfigurations #17854

@no-yan

Description

@no-yan

What version of Oxlint are you using?

1.38.0

What command did you run?

pnpm oxlint -A all -D typescript-eslint/no-floating-promises --type-aware
pnpm oxlint -A all -D unknown/rules

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

No response

What happened?

This issue is spun out from #17502 (thanks @connorshea).

Currently, oxlint allows misconfigurations without errors or warnings.
I think anything that is deterministically wrong at config-parse time should be reported immediately during normal execution, including:

  • Duplicate rules
  • Type-aware rules without type-aware enabled
  • Invalid plugins / rules / config

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions