Use predefined types for pre-commit over file endings

This commit is contained in:
Markus Hofbauer 2025-06-24 11:58:57 +02:00 committed by GitHub
parent 10aef6a96c
commit e437b5b91d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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