-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
36 lines (32 loc) · 1.03 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
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: db7346d375eda68a0174f2c057dd97f2fbffe030 # frozen: v4.2.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: forbid-new-submodules
- id: mixed-line-ending
args:
- '--fix=lf'
- id: trailing-whitespace
args:
- '--markdown-linebreak-ext=md'
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 5e374fda194d7f7ce9eebbd582b2a5594838c85b # frozen: 2.6.2
hooks:
- id: prettier
types_or: [yaml, markdown]
- repo: https://github.com/markdownlint/markdownlint
rev: e31711c0db57df9b350fbaeaae6de745972f3e66
hooks:
- id: markdownlint_docker
name: Markdownlint
- repo: https://github.com/codespell-project/codespell
rev: 01da43d753cdff4ea7dff952b4f5317450af31e3 # frozen: v2.1.0
hooks:
- id: codespell