-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
75 lines (75 loc) · 1.82 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
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.14.0
hooks:
- id: markdownlint-cli2
args:
- --fix
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types:
- markdown
- yaml
- repo: https://github.com/kamadorueda/alejandra
rev: 3.0.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: readme
name: readme
entry: just _readme
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.4.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg