Skip to content

Commit

Permalink
fix: shellcheck should visit srcs of sh_test (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Sep 23, 2024
1 parent f23b46f commit cd401ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/shellcheck.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lint/shellcheck.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _shellcheck_aspect_impl(target, ctx):

return [info]

def lint_shellcheck_aspect(binary, config, rule_kinds = ["sh_binary", "sh_library"]):
def lint_shellcheck_aspect(binary, config, rule_kinds = ["sh_binary", "sh_library", "sh_test"]):
"""A factory function to create a linter aspect.
Attrs:
Expand Down

0 comments on commit cd401ba

Please sign in to comment.