Skip to content

Commit 921f6a0

Browse files
authored
Merge pull request #3 from crutonjohn/feat/pre-commit
feat(pre-commit): add pre-commit hooks
2 parents f2e27af + 243faea commit 921f6a0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.pre-commit-config.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
fail_fast: false
3+
repos:
4+
- repo: https://github.com/adrienverge/yamllint
5+
rev: v1.26.3
6+
hooks:
7+
- args:
8+
- --config-file
9+
- .github/linters/.yamllint.yaml
10+
id: yamllint
11+
- repo: https://github.com/pre-commit/pre-commit-hooks
12+
rev: v4.2.0
13+
hooks:
14+
- id: trailing-whitespace
15+
args: [--markdown-linebreak-ext=md]
16+
- id: end-of-file-fixer
17+
- id: mixed-line-ending
18+
- repo: https://github.com/Lucas-C/pre-commit-hooks
19+
rev: v1.1.14
20+
hooks:
21+
- id: remove-crlf
22+
- id: remove-tabs
23+
- repo: https://github.com/sirosen/texthooks
24+
rev: 0.3.1
25+
hooks:
26+
- id: fix-smartquotes
27+
- repo: https://github.com/zricethezav/gitleaks
28+
rev: v8.8.4
29+
hooks:
30+
- id: gitleaks

0 commit comments

Comments
 (0)