Skip to content

Conversation

@UebelAndre
Copy link

@UebelAndre UebelAndre commented Jan 14, 2026

This change adds the shellcheck_aspect rule for running shellcheck within an aspect.

To configure this the following should be added to a repo's .bazelrc

build --aspects=@rules_shellcheck//shellcheck:shellcheck_aspect.bzl%shellcheck_aspect
build --output_groups=+shellcheck_checks

Then any bazel build invocation will spawn Shellcheck actions for sh_binary, sh_test, and sh_library targets.

closes #23

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.

Write an aspect implementation for shellcheck rule

2 participants