-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
32 lines (32 loc) · 993 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.52.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
- id: terraform_validate
require_serial: true
- id: terraform_providers_lock
require_serial: true
- id: terraform_docs_replace
require_serial: true
- id: terraform_tflint
args:
- --args=--config=__GIT_WORKING_DIR__/.tflint.hcl
require_serial: true
- id: terraform_tfsec
require_serial: true
- id: terrascan
require_serial: true
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-added-large-files
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: double-quote-string-fixer
- id: requirements-txt-fixer