Skip to content

Add support for linting generated sources - #70

Merged
UebelAndre merged 1 commit into
aignas:mainfrom
UebelAndre:provider
Oct 13, 2026
Merged

UebelAndre merged 1 commit into
aignas:mainfrom
UebelAndre:provider

Conversation

@UebelAndre

@UebelAndre UebelAndre commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

This change adds conditional support for running shellcheck on generated sources via the new --@rules_shellcheck//shellcheck/settings:check_generated flag as a global switch or the shellcheck_test.check_generated attribute whcih can forcibly opt a target in or out (super-seeding the build flag).

closes #60
closes #53

@aignas aignas left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@UebelAndre
UebelAndre merged commit c5cdce5 into aignas:main Oct 13, 2026
3 checks passed
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.

shellcheck_test should be constrainted to work on sh_* rules Add support for --external-sources

2 participants