Skip to content

VSCode ignores "oxc.lint.customization" #299

Description

@orimay

Confirm that this is a Bug for the editor extension, not the CLI

  • This bug does not happen in the Oxlint/Oxfmt CLI
  • After restarting the editor, the bug still appears

Versions used

VS Code extension: v1.57.0
oxlint: v1.67.0 (VP: 0.1.24)
oxfmt: v0.52.0 (VP: 0.1.24)
VS Code version: 1.121.0 (Universal)
Operating System and Version: Darwin arm64 25.5.0
Node Version: 22.22.1
Node Manager: vite-plus

What happened?

I have a line where I have double space before Table in my TypeScript file:

import type { Jsonify, RecordId, Surreal,  Table, Uuid } from 'surrealdb';

At the same time, my .vsconfig/settings.json has:

  "oxc.lint.customization": {
    "*": { "severity": "off", "autofix": true },
    "@stylistic/*": { "severity": "off" },
    "@stylistic/no-multi-spaces": { "severity": "off" },
    "@stylistic(no-multi-spaces)": { "severity": "off" },
    "oxc(@stylistic(no-multi-spaces))": { "severity": "off" }
  },

However, I get error underline, and not a warning one:
Image

I also tried "warning", "hint" and "info", but nothing works.

ESLint, at the same time, was allowing me to do this:

  "eslint.rules.customizations": [
    {
      "rule": "*",
      "severity": "error"
    },
    {
      "rule": "@stylistic/*",
      "severity": "off"
    },

And it was working flawlessly.

The DX I am trying to achieve is not reporting (seeing) things that will auto-fix for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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