oxc icon indicating copy to clipboard operation
oxc copied to clipboard

linter: default plugins are always enabled in config file

Open Sysix opened this issue 3 months ago • 7 comments

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.

Sysix avatar Oct 25 '24 17:10 Sysix