From b50c154638d10aef306b3c5538b1813bb3c70064 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Wed, 25 Jan 2017 10:28:51 +0100 Subject: [PATCH] Copied to .pre-commit-hooks.yaml for compatibility (closes #1) --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..27868a4 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: terraform_fmt + name: Terraform fmt + description: Rewrites all Terraform configuration files to a canonical format. + entry: terrraform_fmt.sh + language: script + files: \.tf$ + exclude: \.terraform\/.*$