Skip to content

linter: typescript/no-empty-object-type does not support regexes in allowWithName #14936

@wagenet

Description

@wagenet

What version of Oxlint are you using?

1.24.0

What command did you run?

No response

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

{
  rules: {
    "typescript/no-empty-object-type": ["error", { "allowWithName": "Options$" }]
  }
}

What happened?

This works in typescript-eslint. I believe we want to have parity here.

https://typescript-eslint.io/rules/no-empty-object-type/#allowwithname

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