📎 Implement biome lint --rule=<rule-name>
#58
Labels
A-CLI
Area: CLI
A-Linter
Area: linter
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Description
Executing
biome lint --rule=<rule-name>
should only run the rule with name<rule-name>
, otherwise it will throw an error. See rome#4747 for more context.EDIT:
--rule=<rule-name>
should override the config, i.e. run<rule-name>
even if the rule is disabled in the config. However, the rule options and severity level should be taken into account.If the option is combined with
--summary
(e.g.biome lint --summary --rule=<rule-name>
) we should restrict the summary to<rule-name>
. See #57 for more details about the--summary
option.An example:
Possible extensions
The text was updated successfully, but these errors were encountered: