-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
115 lines (115 loc) · 2.25 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
repos:
- hooks:
- id: commitizen
repo: https://github.com/commitizen-tools/commitizen
rev: v2.42.1
- hooks:
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
- args:
- --fix=no
id: mixed-line-ending
- args:
- --indent=4
- --autofix
id: pretty-format-json
- args:
- --markdown-linebreak-ext=md
id: trailing-whitespace
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
- hooks:
- args:
- build
- chore
- ci
- docs
- feat
- fix
- perf
- refactor
- revert
- style
- test
- bump
id: conventional-pre-commit
stages:
- commit-msg
repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
- hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs
- args:
- --license-filepath
- meta/LICENSE-HEADER
- --comment-style
- //
files: \.rs$
id: insert-license
repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.4.2
- hooks:
- args:
- --config=$(pwd)/.yamllint.yml
id: yamllint
stages:
- commit-msg
repo: https://github.com/adrienverge/yamllint
rev: v1.29.0
- hooks:
- args:
- --ignore
- CHANGELOG.md
id: markdownlint
repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.33.0
- hooks:
- id: detect-secrets
repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
- hooks:
- id: fix-smartquotes
- id: fix-ligatures
- id: forbid-bidi-controls
repo: https://github.com/sirosen/texthooks
rev: 0.5.0
- hooks:
- id: gitleaks
repo: https://github.com/zricethezav/gitleaks
rev: v8.16.1
- hooks:
- id: fmt
- id: cargo-check
- id: clippy
repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
- repo: local
hooks:
- id: cargo-audit
name: cargo-audit
entry: cargo audit
language: system
types: [rust]
stages: [commit]
pass_filenames: false
- id: cargo-vet
name: cargo-vet
entry: cargo vet
language: system
types: [rust]
stages: [commit]
pass_filenames: false
- id: cargo-nag
name: cargo-nag
entry: cargo nag
language: system
types: [rust]
stages: [commit]
pass_filenames: false