Skip to content

Commit

Permalink
fix: shellcheck linter setup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed May 11, 2024
1 parent a07e95a commit c4e2df7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions scaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ features:
globs:
- "*/tools/format/*"
- "*/tools/lint/*"
- "*/.shellcheckrc"
- value: "{{ .Scaffold.stamp }}"
globs:
- "*/tools/workspace_status.sh"
Expand Down
1 change: 1 addition & 0 deletions {{ .ProjectSnake }}/.aspect/cli/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ configure:

lint:
aspects:
- //tools/lint:linters.bzl%shellcheck
{{- if eq .Computed.javascript "true" }}
- //tools/lint:linters.bzl%eslint
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions {{ .ProjectSnake }}/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Configuration options for shellcheck
# See https://github.com/koalaman/shellcheck/blob/master/shellcheck.1.md#rc-files
1 change: 1 addition & 0 deletions {{ .ProjectSnake }}/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ alias(

exports_files(
[
".shellcheckrc",
{{- if eq .Computed.python "true" }}
"pyproject.toml",
{{- end }}
Expand Down

0 comments on commit c4e2df7

Please sign in to comment.