Skip to content

Commit cd401ba

Browse files
authored
fix: shellcheck should visit srcs of sh_test (#398)
1 parent f23b46f commit cd401ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/shellcheck.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lint/shellcheck.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _shellcheck_aspect_impl(target, ctx):
9292

9393
return [info]
9494

95-
def lint_shellcheck_aspect(binary, config, rule_kinds = ["sh_binary", "sh_library"]):
95+
def lint_shellcheck_aspect(binary, config, rule_kinds = ["sh_binary", "sh_library", "sh_test"]):
9696
"""A factory function to create a linter aspect.
9797
9898
Attrs:

0 commit comments

Comments
 (0)