Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linter Product Plan and Progress #481

Open
Boshen opened this issue Jun 26, 2023 · 6 comments
Open

Linter Product Plan and Progress #481

Boshen opened this issue Jun 26, 2023 · 6 comments

Comments

@Boshen
Copy link
Member

Boshen commented Jun 26, 2023

Product Plan

Create a linter that is

  • zero-config
  • only checks for correctness errors (code that is outright wrong or useless) - definition from Rust Clippy

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:

@Boshen Boshen pinned this issue Jun 26, 2023
@Boshen Boshen unpinned this issue Oct 26, 2023
@Boshen Boshen pinned this issue Oct 26, 2023
@Boshen Boshen changed the title Linter Roadmap Linter Product Plan Oct 26, 2023
@manzt

This comment was marked as outdated.

@Boshen Boshen closed this as completed Jan 13, 2024
@Boshen Boshen unpinned this issue Jan 13, 2024
@Boshen Boshen reopened this Jan 13, 2024
@Boshen Boshen pinned this issue Jan 13, 2024
@roman-petrov
Copy link

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
Copy link
Member Author

Boshen commented Jan 26, 2024

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.

@Boshen Boshen changed the title Linter Product Plan Linter Product Plan and Progress Jan 26, 2024
@roman-petrov
Copy link

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
Copy link

alxpsr commented Jan 27, 2024

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
Copy link

matthew-dean commented Feb 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants