Skip to content

Commit 564ad7a

Browse files
author
George Khoury
committed
ci(pc): add pre-commit configuration
1 parent dddbee4 commit 564ad7a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# .pre-commit-config.yaml
2+
default_stages: [pre-commit]
3+
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v5.0.0
7+
hooks:
8+
- id: check-merge-conflict
9+
- id: check-added-large-files
10+
- id: trailing-whitespace
11+
- id: end-of-file-fixer
12+
- repo: https://github.com/zricethezav/gitleaks
13+
rev: v8.24.0
14+
hooks:
15+
- id: gitleaks
16+
name: detect hardcoded secrets

0 commit comments

Comments
 (0)