-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added --fixes flag to Aspect CLI lint command (#7015)
Feature request from Figma where they have a custom eslint.bzl and requesting the patches results in two actions on CI. Also fixes flag registration so they are "no-able" to match expected behaviour of other flags: `--nofixes`, `--noreport`, etc... --- ### Changes are visible to end-users: yes - Searched for relevant documentation and updated as needed: yes - Breaking change (forces users to change their own code or config): no - Suggested release notes appear below: yes New `--fixes` flag added to lint command in the the Aspect CLI which defaults to true. Users can now set `--nofixes` to turn off requesting the lint patch output group (`rules_lint_patch`). Requesting the report outputs groups (`rules_lint_human` and `rules_lint_machine`) is still controlled by the `--report` and `--machine` flags. ### Test plan - Covered by existing test cases - New test cases added GitOrigin-RevId: 8351b619b16979d089dd600db9065d8cd48f699d
- Loading branch information
1 parent
ef386d5
commit 39f5538
Showing
2 changed files
with
68 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters