-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
46 lines (40 loc) · 1.21 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
fail_fast: false
repos:
- repo: local
hooks:
- id: forbid-binary
name: forbid-binary (local)
language: script
entry: hooks/forbid-binary
types: ['binary']
exclude: >
(?x)^(
screenshot.png
)$
- id: git-dirty
name: git-dirty (local)
language: script
entry: hooks/git-dirty
- id: tfsec-system
name: TFSec system (local)
description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues, uses systems installed tfsec.
language: script
entry: hooks/tf-sec
types: [terraform]
- id: detect-secrets
name: Detect Secrets
description: This hook detects and prevents high entropy strings from entering the codebase.
entry: hooks/detect-secrets
language: script
files: .*
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace