diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index c9694c4e..a1abf6f7 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -4,12 +4,12 @@ entry: jsonnetfmt args: [-i] language: golang - files: \.(jsonnet|libsonnet)$ + types: [jsonnet] minimum_pre_commit_version: 2.10.1 - id: jsonnet-lint name: jsonnet-lint description: Lint jsonnet files. entry: jsonnet-lint language: golang - files: \.(jsonnet|libsonnet)$ + types: [jsonnet] minimum_pre_commit_version: 2.10.1