Skip to content

Conversation

@Conaclos
Copy link
Member

Summary

This Pr adds the capability of passing only the rule name in --only and --skip CLI options.

Previously --only=<rule-name> was rejected.
You had to add the group name: --only=<group-name>/<rule-name>.
--only=<rule-name> is now accepted.

I took the opportunity of improving the validation.
We now reject using the lint/ prefix for an assist action/group and the assist/ prefix for a lint rule/group.

  • changeset

Test Plan

I updated the snapshots.

@github-actions github-actions bot added A-CLI Area: CLI A-Project Area: project labels May 13, 2025
@Conaclos Conaclos force-pushed the conaclos/only-skip-rule-without-group-name branch 2 times, most recently from 7eb32af to 80f79fd Compare May 14, 2025 20:20
@Conaclos Conaclos merged commit 507f71e into main May 14, 2025
11 checks passed
@Conaclos Conaclos deleted the conaclos/only-skip-rule-without-group-name branch May 14, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI A-Project Area: project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants