Skip to content

linter: LSP warnings without Oxlint config #16254

@cpojer

Description

@cpojer

What version of Oxlint are you using?

latest

What command did you run?

VS Code lsp

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

None

What happened?

When using Oxfmt but not Oxlint with the VS Code "Oxc" extension, it triggers warnings for various default rules:

Image

I created an Oxlint config to ignore all files:

{
  "ignorePatterns": ["**/*.ts", "**/*.tsx"]
}

Expected Behavior: When using the Oxc extension only for formatting with Oxfmt and a project does not have an Oxlint configuration, it should not show any linter warnings/errors.

I recommend a separate conversation about the default rules and whether they should be warnings or errors.

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