biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
15.3k stars 475 forks source link

📎 Add `--linter` to the command `biome rage` #1753

Closed ematipico closed 8 months ago

ematipico commented 9 months ago

Description

We want to add a new option called --linter to the command biome rage.

The command is meant to print helpful information for us maintainers. With the --linter option, we want to print a list of the rules applied given the current configuration.

This is where the implementation should be:

https://github.com/biomejs/biome/blob/1646ddb29b3227d81413324f6aa2cf99d0ffdd4d/crates/biome_cli/src/commands/rage.rs#L17-L59

seitarof commented 9 months ago

@ematipico I'm thinking of working on this. If possible, I would appreciate it if you could provide an example of the output.

ematipico commented 9 months ago

@ematipico I'm thinking of working on this. If possible, I would appreciate it if you could provide an example of the output.

Nothing fancy, just a list like:

noDebugger = error
useConst = off

I think that's a good start, then we can improve it once we have something

seitarof commented 9 months ago

@ematipico I understand. Could you assigned me?