Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
Documentation for @aspect_rules_lint@v2.1.0 — View source
sh_binary, sh_library, and sh_test rules.
Typical usage:
Shellcheck is provided as a built-in tool by rules_lint. To use the built-in version,
create the linter aspect, typically in tools/lint/linters.bzl:
Function: shellcheck_action
Run shellcheck as an action under Bazel.
Based on https://github.com/koalaman/shellcheck/blob/master/shellcheck.1.md
Parameters
Bazel Rule or Aspect evaluation context
label of the the shellcheck program
bash files to be linted
label of the .shellcheckrc file
output file containing stdout of shellcheck
output file containing shellcheck exit code.
If None, then fail the build when vale exits non-zero.
See https://github.com/koalaman/shellcheck/blob/master/shellcheck.1.md#return-values
additional command-line options, see https://github.com/koalaman/shellcheck/blob/master/shellcheck.hs#L95

