Skip to content

linter: default plugins are always enabled in config file #6896

@Sysix

Description

@Sysix

What version of Oxlint are you using?

latest

What command did you run?

npx oxlint -c .oxlint.json

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

{
"plugins": ["typescript"]
}

What happened?

because the default values for plugins is react, unicorn, typescript and oxc,
I expect to run oxlint -c .oxlint.json with less rules.

npx oxlint -c .oxlint.json output:

Finished in 16ms on 21 files with 98 rules using 24 threads.
Found 0 warnings and 0 errors.

npx oxlint output:

Finished in 16ms on 21 files with 98 rules using 24 threads.
Found 0 warnings and 0 errors.

Metadata

Metadata

Assignees

Labels

A-linterArea - LinterC-bugCategory - Bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions