-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy path.pre-commit-config.yaml
34 lines (34 loc) · 961 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
exclude: '(.*\.snap)|(insta/tests/inputs/.*)'
- id: check-yaml
- id: mixed-line-ending
- repo: https://github.com/crate-ci/typos
rev: v1.20.10
hooks:
- id: typos
# https://github.com/crate-ci/typos/issues/347
pass_filenames: false
- repo: https://github.com/rhysd/actionlint
rev: v1.6.27
hooks:
- id: actionlint
# auto-generated with `dist`
exclude: .github/workflows/release.yml
- repo: https://github.com/tcort/markdown-link-check
rev: v3.12.1
hooks:
- id: markdown-link-check
name: markdown-link-check-all
stages: [manual]
- repo: local
hooks:
- id: no-dbg
name: no-dbg
description: We shouldn't merge code with `dbg!` in
language: pygrep
types: ["rust"]
entry: "dbg!"