Thanks to visit codestin.com
Credit goes to github.com

Skip to content

linter: eqeqeq null ignore is not working #8773

@Stanzilla

Description

@Stanzilla

What version of Oxlint are you using?

0.15.8

What command did you run?

yarn oxlint -c oxlintrc.json

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

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["react", "typescript", "oxc", "promise", "jest", "jsx_a11y"],
  "env": {
    "browser": true,
    "node": true,
    "commonjs": true,
    "es6": true,
    "jest": true
  },
  "settings": {},
  "rules": {
    "eqeqeq": ["warn", { "null": "ignore" }],
    "import/no-cycle": "warn",
    "no-unused-vars": [
      "warn",
      {
        "args": "none",
        "ignoreRestSiblings": true,
        "argsIgnorePattern": "^_",
        "varsIgnorePattern": "^_",
        "caughtErrors": "none"
      }
    ],
    "no-extra-boolean-cast": "off",
    "no-standalone-expect": "off",
    "no-conditional-expect": "off"
  },
  "overrides": [
    {
      "files": ["*.test.ts", "*.spec.ts"],
      "rules": {
        "@typescript-eslint/no-explicit-any": "off"
      }
    }
  ]
}

What happened?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linterArea - LinterC-bugCategory - Buggood first issueExperience Level - Good for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions