Skip to content

linter: no-irregular-whitespace has skipStrings:false opt ? #11977

@CoffeeChaton

Description

@CoffeeChaton

What version of Oxlint are you using?

1.3.0

What command did you run?

oxlint

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

{
    "$schema": "./node_modules/oxlint/configuration_schema.json",
    "plugins": [
        "import",
        "jsdoc",
        "unicorn",
        "promise",
        "typescript",
        "oxc",
        "eslint"
    ],
    "ignorePatterns": [
        "eslint.config.mjs",
    ],
    "rules": {
        // "no-irregular-whitespace": "warn"
        // or
        "no-irregular-whitespace": [
            "warn",
            {
// I want to be warned about unimplemented options or unexpected configuration files.
                "skipStrings": false,
                "skipComments": false,
                "skipRegExps": false,
                "skipTemplates": false,
                "skipJSXText": false,
            }
        ]
    }
}

What happened?

Image

Image

https://eslint.org/docs/latest/rules/no-irregular-whitespace#options
https://github.com/CoffeeChaton/oxlint-no-irregular-whitespace

I want check no-irregular-whitespace in regexp / string
and I try to set .oxlintrc.json some opt, but not match warn at line 43.
I want to be warned about unimplemented options or unexpected configuration files.

Thank you always for your excellent work.

Metadata

Metadata

Assignees

Labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions