rome / tools

Unified developer tools for JavaScript, TypeScript, and the web
https://docs.rome.tools/
MIT License
23.83k stars 666 forks source link

☂️ Linter, port eslint's recommended preset #3953

Open ematipico opened 1 year ago

ematipico commented 1 year ago

Description

This umbrella is meant to track all the rules that belong to the recommended preset of ESLint and move them to Rome.

Some rules already exist and they might have a different names.

You can use this project to better track the progress.

[This spreadsheet] tracks all of them, with the relative rule in Rome.

The community might decide to split some rules into multiple rules, for different reasons:

Contribution guidelines

Always refer to our contribution guidelines when implementing the rule.

When porting a rule, make sure that the name of the rule reflects our internal naming patterns, and refrain from using abbreviations in the name of the rule. We try to promote complete names whenever it's possible.

Each task has an associated label that will mark its difficulty in implementing the rule. The difficulty has been assessed roughly by looking at ESLint implementation (their source code), so it's not bulletproof.

Any questions regarding a rule (technical or not) should be posted in the issue of the rule.

Remaining rules

List of rules

This list doesn't contain the recommended rules that belong to the layout/formatting section. Below, is the list of recommended rules that haven't been implemented yet.

mzbac commented 1 year ago

Is it possible to categorize the rule into different difficulty groups? So people would know how to pick it up based on their level. I am pretty new to Rome and Rust, so I had a lot of trouble picking the right issue to contribute.

ematipico commented 1 year ago

Is it possible to categorize the rule into different difficulty groups? So people would know how to pick it up based on their level. I am pretty new to Rome and Rust, so I had a lot of trouble picking the right issue to contribute.

Yes, that's what I plan to do with each rule, I started doing so with the Accessibility rules.