Skip to content

Commit

Permalink
.pre-commit.yaml - managed by sudoblark.terraform.github
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoblark-bot committed Sep 11, 2024
1 parent d82d7d3 commit af5dce7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

fail_fast: true
default_stages: [commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-ast
- id: check-added-large-files
- id: check-case-conflict
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: detect-private-key
- id: debug-statements
- id: detect-aws-credentials
args:
- --allow-missing-credentials
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/bridgecrewio/checkov.git
rev: 3.2.50
hooks:
- id: checkov
verbose: false
args: [--soft-fail]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.94.3
hooks:
- id: terraform_fmt
- id: terraform_validate
exclude: "examples/"
- id: terraform_docs

0 comments on commit af5dce7

Please sign in to comment.