-
Notifications
You must be signed in to change notification settings - Fork 69
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
Migrate from ESLint #2743
Comments
I believe, we also should consider other options for migration, e.g. prettier. Let's do some research about which tools we have on the marker before the start. |
A few Rust-based I heard about, but never tried
|
I was thinking about this topic a while ago, a came to a conclusion to stay with ESLint. I'd like to share my thoughts in hope that it will help you in some way with this task. For me, CLI/browser extension live server speed is not a blocker. The live server is fast enough (unless you work in a file with thousands of lines of code and have hundreds of rules), and CLI can be speed up with Bun, if necessary. Also, ESLint can become faster in the future. But a small list of supported technologies and poor configuration is a blocker. I don't use Prettier because of the latter, and that from all the possible ways it could've formatted the code, it does it in the most inconsistent and unreadable way possible. Right now, I use ESLint for both formatting and linting, because it doesn't have the blockers I mentioned above. Also, check the article Why another JavaScript linter?. There, a creator of quick-lint-js discusses pros and cons of the mentioned linters. |
Also, it would be great if you could leave a comment about your experience, requirements to the tools and reasons behind the final decision after the decision is made (here or in the pull request), so that people can learn from it and for the reference if you'll decide to do it again in the future. |
Foreword
...says comment at eslintrc.base.js
Details
It was breaking news reported from ESLint team at 2020. At 2023 ESLint Stylistic plugin was created.
Here's a info from "Getting started":
From "Why?":
As for the Jan 2025, last release was week ago. So, it is well maintained I could say.
It also has a migration guide which provides a few migration strategies.
p.s. Onboarding already migrated to Stylistic last year
The text was updated successfully, but these errors were encountered: