Skip to content

Add aliases for built-in linters #563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

calliecameron
Copy link
Contributor

@calliecameron calliecameron commented May 29, 2025

These are equivalent to the aliases for the built-in formatters, and allow use of these linters without having to use confusing relative repo names that appear to be relative to the user's module, but are actually relative to rules_lint.

Ideally the aliases would be ruff and shellcheck, but those names are taken by bzl_libraries, hence the 'bin' suffix.

Fixes #551.

calliecameron added a commit to calliecameron/rules_lint that referenced this pull request May 29, 2025
Docs now match the actual usage and the examples, and use Label
instead of @@. This is done for all linters except ruff and
shellcheck, which are already being done in
aspect-build#563.
alexeagle pushed a commit that referenced this pull request May 29, 2025
Docs now match the actual usage and the examples, and use Label
instead of @@. This is done for all linters except ruff and
shellcheck, which are already being done in
#563.
@calliecameron
Copy link
Contributor Author

@alexeagle any update on reviewing this? This is the last PR for #551, and also contains the last of the related doc updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR]: Add aliases for built-in lint tools
1 participant