-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
62 lines (55 loc) · 1.49 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
# syntax check
- id: check-json
- id: check-xml
- id: check-yaml
- id: check-toml
# whitespaces
- id: trailing-whitespace
- id: mixed-line-ending
- id: end-of-file-fixer
exclude: ".config/nvim/lazy-lock.json"
# scripts/exe
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: destroyed-symlinks
# credentials leak
- id: detect-private-key
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
hooks:
- id: yamllint
args: [-c, .config/yamllint/config]
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v0.19.1
hooks:
- id: stylua-github
args: [--config-path, .config/nvim/stylua.toml]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
exclude: ".config/nvim/lazy-lock.json"
- repo: https://github.com/crate-ci/typos
rev: v1.16.23
hooks:
- id: typos
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
exclude: ".config/nvim/lazy-lock.json"
- repo: https://github.com/zricethezav/gitleaks
rev: v8.18.1
hooks:
- id: gitleaks
- repo: https://github.com/sirwart/ripsecrets
rev: v0.1.7
hooks:
- id: ripsecrets