-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
95 lines (95 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
repos:
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
rev: v0.6.0post1
hooks:
- id: pre-commit-update
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.15.0
hooks:
- id: markdownlint-cli2
args:
- --fix
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types:
- markdown
- repo: https://github.com/kamadorueda/alejandra
rev: 3.1.0
hooks:
- id: alejandra-system
- repo: https://github.com/astro/deadnix
rev: v1.2.1
hooks:
- id: deadnix
args:
- --edit
- repo: local
hooks:
- id: flake-checker
name: flake-checker
entry: flake-checker
language: system
pass_filenames: false
- id: justfile
name: justfile
entry: just --fmt --unstable
language: system
pass_filenames: false
- id: statix
name: statix
entry: statix fix
language: system
pass_filenames: false
- id: yamlfmt
name: yamlfmt
entry: yamlfmt
language: system
pass_filenames: false
- repo: https://github.com/lycheeverse/lychee.git
rev: v0.15.1
hooks:
- id: lychee
args:
- --no-progress
- .
pass_filenames: false
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
# python
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
- id: check-toml
- id: pretty-format-json
args:
- --autofix
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types:
- json
- repo: local
hooks:
- id: taplo
name: taplo
entry: taplo format
language: system