Skip to content

linter: no-empty-pattern doesn't support configuration options #21473

Description

@rtarpine-vanta

What version of Oxlint are you using?

1.60.0

What command did you run?

oxlint

What does your .oxlintrc.json (or oxlint.config.ts) config file look like?

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "categories": {
    "correctness": "off",
  },
  "rules": {
    "no-empty-pattern": ["error", { "allowObjectPatternsAsParameters": true }],
  },
}

What happened?

I ran oxlint and it complained:

Failed to parse oxlint configuration file.

  × Invalid configuration for rule `no-empty-pattern`:
  │   This rule does not accept configuration options.

Metadata

Metadata

Assignees

Labels

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions