-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (29 loc) · 878 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (29 loc) · 878 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
29
30
# See https://pre-commit.com for more information
# pre-commit install
# pre-commit install --hook-type commit-msg
exclude: ^(LICENSE|LICENSE*)
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: no-commit-to-branch
args: ["-b", "main"]
- id: check-merge-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: ^(rust|rust+wasm)
- id: check-json
exclude: ^(rust|rust+wasm)
- id: check-added-large-files
- id: detect-private-key
exclude: ^(rust|rust+wasm)
- id: check-executables-have-shebangs
- id: check-toml
exclude: ^(rust|rust+wasm)