Skip to content

Commit cda9937

Browse files
(fix): linter check for YAML should consider files with sufix .yml as .yaml
1 parent 92b2824 commit cda9937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ lint-config: golangci-lint ## Verify golangci-lint linter configuration
126126

127127
.PHONY: yamllint
128128
yamllint:
129-
@files=$$(find testdata -name '*.yaml' ! -path 'testdata/*/dist/*'); \
129+
@files=$$(find testdata -name '*.yaml' -o -name '*.yml' ! -path 'testdata/*/dist/*'); \
130130
docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data cytopia/yamllint:latest $$files -d "{extends: relaxed, rules: {line-length: {max: 120}}}" --no-warnings
131131

132132
.PHONY: golangci-lint

0 commit comments

Comments
 (0)