Tool to analyse/migrate .eslintrc.cjs and say which rules Rome has an equivalent of etc #3774
Replies: 6 comments 7 replies
-
You bring up many good pain points, and I really like your idea. It should be a breeze to migrate from eslint to Rome, particularly for projects only using the standard eslint rules. |
Beta Was this translation helpful? Give feedback.
-
I agree that this could be a major adoption factor. I've written some migration docs this week in #3767 and for lint rules I pretty much just had to say "if you use ESLint recommended, our recommended will probably be fine, but if you're into customizing, hey here's our rules list" because anything else would have blown up the scope. But it would definitely be a good next step as the linter approaches feature parity. Maybe as a first https://github.com/rome-community project? 🤔 |
Beta Was this translation helpful? Give feedback.
-
@MichaReiser can you add me to community organisation, I’m keen to participate. I represent a worst case scenario dev, a guy with a big angular project with a solid eslint file and prettier. If it can handle me it will literally smoke eslint and prettier. |
Beta Was this translation helpful? Give feedback.
-
We plan to have a command called The command would allow to pick up configuration from other tools like prettier, eslint, TypeScript, etc. and update the |
Beta Was this translation helpful? Give feedback.
-
Unrelated but maybe related: eslint/eslint#16557 |
Beta Was this translation helpful? Give feedback.
-
In my view, ESLint is too much customizable and its defaults are not enough strict. I spend hours for reviewing every rule and tuning it. The burden of maintenance was terrible. I would like to avoid getting the same experience with Rome. I am expecting a linter that enables most of its rules (recommended rules) and that avoids providing too many settings. A user could still opt out of some rules. Thus, in my view, the transition of ESLint to Rome should not be smooth if you extensively customized ESLint. Rome could provide a tool for migration and could report incompatibility. |
Beta Was this translation helpful? Give feedback.
-
My .eslintrc.cjs looks like this:
It's very difficult to answer these questions right now:
Without such a tool, migrating to Rome would be a very difficult task with lots of unknowns. I think Rome will benefit from such a tool.
Eslint has 23M weekly downloads versus Rome having 15,000. I think a strategy geared specifically towards eslint market share would be a good idea for Rome
Beta Was this translation helpful? Give feedback.
All reactions