You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No real diff in the output now but necessary for the next commit. This will
allow us to look up the Fix/Lint command to be used in the tool specific
target.
Signed-off-by: Manuel Mendez <[email protected]>
Copy file name to clipboardExpand all lines: Makefile.tmpl
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -62,12 +62,12 @@ $(YAMLLINT_BIN):
62
62
63
63
.PHONY: _lint
64
64
_lint: {{ if .Shell }}$(SHELLCHECK_BIN) {{ end }}{{ if .Dockerfile }}$(HADOLINT_BIN) {{ end }}{{ if .Go}}$(GOLANGCI_LINT_BIN) {{ end }}{{ if .YAML}}$(YAMLLINT_BIN){{ end }}
65
-
{{- range .LintCommands }}
66
-
{{ .}}{{ end}}
65
+
{{- range $k, $v := .LintCommands }}
66
+
{{ $v }}{{ end}}
67
67
68
68
.PHONY: fix
69
69
fix: {{ if .Shell }}$(SHELLCHECK_BIN) {{ end }}{{ if .Go}}$(GOLANGCI_LINT_BIN){{ end }}
0 commit comments