oxc-project / oxc

⚓ A collection of JavaScript tools written in Rust.
https://oxc.rs
MIT License
9.73k stars 361 forks source link

Oxlint -D all doesn't seem to trigger all rules - unclear documentation #3944

Open bartekleon opened 1 week ago

bartekleon commented 1 week ago

Did: npx oxlint -D all got: Finished in 1.4s on 29 files with 243 rules using 16 threads. Apparently there should be 376 rules (according to https://oxc.rs/docs/guide/usage/linter/rules.html), so a lot seems to be is missing.

There is mismatch between https://oxc.rs/docs/guide/usage/linter/rules.html and https://github.com/oxc-project/oxc/issues/479

For example these are in rules, but in issues it doesn't say they are implemented image

You write "The progress of all rule implementations is tracked https://github.com/oxc-project/oxc/issues/481." So I assume rules on site is what You plan to implement, but this is just very misleading/confusing.

Maybe add another collumn on website with progress on the rules and add a counter on how many rules are implemented? Otherwise one need to look into ~10 issues to check which are implemented and which are not.

dalisoft commented 4 days ago

@bartekleon Try npx oxlint -D all --import-plugin --jest-plugin --jsdoc-plugin --jsx-a11y-plugin --nextjs-plugin --react-perf-plugin