Skip to content

Commit

Permalink
feature: add pre-commit hooks (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmileee authored Apr 27, 2022
1 parent 5991023 commit 1117a38
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1117a38

Please sign in to comment.