Skip to content

linter: oxlint VSCode extension not show warn or error for rules like import/no-cycle and import/no-duplicates #7118

@pumano

Description

@pumano

What version of Oxlint are you using?

0.11.0

What command did you run?

oxlint -c oxlintrc.json

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

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["import", "unicorn"],
  "rules": {
    "import/no-commonjs": "error",
    "import/no-cycle": "error",
    "import/no-duplicates": "error",
    "import/no-self-import": "error"
  }
}

What happened?

Rule import/no-commonjs works perfectly, but import/no-cycle or import/no-duplicates not show any sign of error or warn. Maybe problem in multiple spans in rule diagnostic or maybe in incorrect in terms of vscode large help info that not correctly handled by VSCode extension?

P. S. all rules works well in oxlint console output

Metadata

Metadata

Assignees

Labels

A-editorArea - Editor and Language ServerC-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions