Skip to content

linter: typescript/no-meaningless-void-operator is missing checkNever option #16978

@connorshea

Description

@connorshea

What version of Oxlint are you using?

0.33.0

What command did you run?

No response

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

// your config here

What happened?

The rule has no config options defined in the oxlint side of things:

https://github.com/oxc-project/oxc/blob/61112a3c6a83912642609e2b6504db6f8beb3f4b/crates/oxc_linter/src/rules/typescript/no_meaningless_void_operator.rs

But the original rule has checkNever, and so does tsgolint: https://github.com/oxc-project/tsgolint/blob/f57c09fd53a7e2eda8dee0757ccda40843f7e111/internal/rules/no_meaningless_void_operator/options.go

We should fix this by adding the config option to the oxlint rule.

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