biomejs / website

Biome's website
https://biomejs.dev
MIT License
33 stars 57 forks source link

📚 Rules section should allow filtering #302

Open minht11 opened 3 months ago

minht11 commented 3 months ago

Documentation URL

https://biomejs.dev/linter/rules/

Description

Most users will use recommended preset, discovering what other rules might be useful would require going to a site and manually filtering which rules are not enabled by default. Making it hard to keep up, especially after new version releases.

Expectations

Likely something similar how to typescript-eslint allows to filter rules based on categories.

Code of Conduct

ematipico commented 3 months ago

@minht11

This page already presents the rules divided by group: https://biomejs.dev/linter/rules/

So, what kind of filtering you were looking for instead?

minht11 commented 3 months ago

Main use rules not enabled by default:

image
minht11 commented 3 months ago

Person on Discord asked how to see which rules are not enabled by default and right now you have to manually diff them. I have done that myself after new version, so documentation (and maybe CLI) could make that easier.

ematipico commented 2 months ago

PRs are welcome