-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (25 loc) · 765 Bytes
/
.pre-commit-config.yaml
File metadata and controls
28 lines (25 loc) · 765 Bytes
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
# Pre-commit hooks for OpenShift Virtualization test documentation
# See https://pre-commit.com for more information
repos:
# Markdownlint for Markdown file linting
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.47.0
hooks:
- id: markdownlint
name: Lint Markdown files
files: \.md$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v6.0.0"
hooks:
- id: check-merge-conflict
stages: [pre-commit]
- id: trailing-whitespace
stages: [pre-commit]
- id: end-of-file-fixer
stages: [pre-commit]
- id: detect-private-key
- id: mixed-line-ending
- repo: https://github.com/gitleaks/gitleaks
rev: "v8.30.0"
hooks:
- id: gitleaks