-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
82 lines (82 loc) · 2.02 KB
/
.pre-commit-config.yaml
File metadata and controls
82 lines (82 loc) · 2.02 KB
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
---
default_install_hook_types:
- pre-commit
- commit-msg
default_stages:
- pre-commit
fail_fast: true
repos:
- repo: local
hooks:
- id: commitlint
name: commitlint
entry: commitlint/commitlint:edge
args:
- --config=commitlint.config.ts
- --edit
- --strict
language: docker_image
pass_filenames: false
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-json
- id: check-yaml
- id: check-symlinks
- id: check-added-large-files
- id: trailing-whitespace
- id: end-of-file-fixer
- id: detect-private-key
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.22
hooks:
- id: mdformat
args:
- --wrap=80
exclude: (\.chglog/.*|.github/ISSUE_TEMPLATE/.*)\.md
additional_dependencies:
- mdformat-toc
- mdformat-tables
- mdformat-gfm-alerts
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args:
- --write-changes
- -L
- AfterAll,NotIn
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt
args:
- --mapping=2
- --sequence=4
- --offset=2
- repo: https://github.com/pecigonzalo/pre-commit-shfmt
rev: v2.2.0
hooks:
- id: shell-fmt-go
args:
- -w
- -s
- -l
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.11.0.1
hooks:
- id: shellcheck
args:
- --severity=warning
- repo: local
hooks:
- id: make-generate-docs
name: Make Generate Docs
entry: make generate-docs
language: system
pass_filenames: false
require_serial: true