Add terraform format precommit
Format terraform files
This commit is contained in:
parent
29bccbac02
commit
1e1677cb4d
@ -32,3 +32,11 @@ repos:
|
|||||||
- "--wrap=90"
|
- "--wrap=90"
|
||||||
types:
|
types:
|
||||||
- markdown
|
- markdown
|
||||||
|
|
||||||
|
- id: terraform
|
||||||
|
name: terraform format
|
||||||
|
entry: terraform
|
||||||
|
language: system
|
||||||
|
args:
|
||||||
|
- fmt
|
||||||
|
files: ".*\\.tf$"
|
||||||
|
Reference in New Issue
Block a user