Skip to content

Commit 335a48d

Browse files
committed
fix: adds pre-commit rule to ignore template files
1 parent 9009b8f commit 335a48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ repos:
7676
- id: check-yaml
7777
args: ["-m", "--unsafe"]
7878
stages: [commit]
79-
exclude: ^charts/[^/]+/addons/.|charts/[^/]+/templates/.|hack/addons/.+/.yaml$
79+
exclude: ^charts/[^/]+/addons/.|charts/[^/]+/templates/.|hack/addons/kustomize/.*$
8080
- id: mixed-line-ending
8181
args: ["-f", "lf"]
8282
exclude: \.bat$

0 commit comments

Comments
 (0)