Skip to content

Commit

Permalink
fix: don't create lint config in CLI when no lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed May 11, 2024
1 parent e4c7413 commit e3d4376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions {{ .ProjectSnake }}/.aspect/cli/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ configure:
javascript: true
{{- end}}

{{- if .Scaffold.lint }}
lint:
aspects:
- //tools/lint:linters.bzl%shellcheck
Expand All @@ -13,3 +14,4 @@ lint:
{{- if .Computed.python }}
- //tools/lint:linters.bzl%ruff
{{- end }}
{{- end }}

0 comments on commit e3d4376

Please sign in to comment.