-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
54 lines (47 loc) · 1.26 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
54 lines (47 loc) · 1.26 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
# Pre-commit
ci:
autoupdate_schedule: quarterly
autofix_prs: true
autoupdate_commit_msg: "chore: update pre-commit hooks"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: fix-byte-order-marker
- id: check-case-conflict
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.12
hooks:
- id: actionlint
# - repo: https://github.com/koalaman/shellcheck-precommit
# rev: v0.11.0
# hooks:
# - id: shellcheck
# args: ["--severity=error"]
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.13.1-1
hooks:
- id: shfmt
# - repo: https://github.com/fsfe/reuse-tool
# rev: v5.0.2
# hooks:
# - id: reuse
# - repo: https://github.com/executablebooks/mdformat
# rev: 0.7.22
# hooks:
# - id: mdformat
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
hooks:
- id: yamllint
args:
- "-d"
- "{extends: default, rules: {line-length: disable}}"