oxc-project / oxc

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

Linter Product Plan and Progress #481

Open Boshen opened 1 year ago

Boshen commented 1 year ago

Product Plan

Create a linter that is

See also: Oxlint General Availability Annoucement

Plugins

For plugins, the goal is to port most of the popular ones. The community has implemented 270 rules and the list is growing. Any form of contribution is much appreciated!

Tasks

Contributing

oxc-project.github.io contains both learning materials and contribution guides:

manzt commented 7 months ago

Think the formatting is broken on Tasks above. I can't edit to fix myself!

roman-petrov commented 5 months ago

Any plans to add eslint-plugin-perfectionist rules? It is becoming quite popular, 1.5 K stars. Just looking forward to fully migrate to amazing and promising OXC stack!

Boshen commented 5 months ago

Any plans to add eslint-plugin-perfectionist rules? It is becoming quite popular, 1.5 K stars. Just looking forward to fully migrate to amazing and promising OXC stack!

This rule fits well in the formatter but not the linter. Its documentation says "I love Prettier. However, this is not his area of responsibility." But we are an integrated toolchain, things differ a little :-)

So the answer to your question "Any plans to add eslint-plugin-perfectionist rules" is currently no, but it's doable once we have more manpower and also the formatter ready.

roman-petrov commented 5 months ago

So the answer to your question "Any plans to add eslint-plugin-perfectionist rules" is currently no, but it's doable once we have more manpower and also the formatter ready.

Thanks! Hopefully after the OXC linter core will be ready, we will be able to use some AI tools to convert ESLint linters to OXC/Rust :)

alxpsr commented 5 months ago

Appreciate your efforts. Your tool is incredible. Looking forward to use it. What about this plugins:

  1. @angular-eslint
  2. eslint-plugin-unused-imports
  3. @nrwl/eslint-plugin-nx
  4. eslint-plugin-filename-rules

Ready for testing to help you implement this (since i dont know Rust yet ;D) Thanks in advance

matthew-dean commented 4 months ago

I would love love it if eslint-plugin-vue got added. Vue has to employ unique parsing for SFCs.

heyitsarpit commented 1 month ago

very useful plugin for react dev time performance - eslint-plugin-react-refresh