Skip to content

Commit 0fe2125

Browse files
add pre-commit config
1 parent 8cf2826 commit 0fe2125

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ Thumbs.db
1919
# Vite
2020
vite.config.js.timestamp-*
2121
vite.config.ts.timestamp-*
22+
.pre-commit-trivy-cache
23+
.pre-commit-trivy-cache

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.24.2
4+
hooks:
5+
- id: gitleaks
6+
- repo: https://github.com/gradientsearch/pre-commit-trivy
7+
rev: v0.13.0
8+
hooks:
9+
- id: trivyfs-docker
10+
args:
11+
- .

0 commit comments

Comments
 (0)