diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 000000000..6a493a950 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,8 @@ +- id: tanka-format + name: tkfmt + description: Automatically format jsonnet files. + entry: tk + args: [fmt] + language: golang + files: \.(jsonnet|libsonnet)$ + minimum_pre_commit_version: 2.10.1