-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (33 loc) · 1.01 KB
/
.pre-commit-config.yaml
File metadata and controls
37 lines (33 loc) · 1.01 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
exclude: ^\.clang-format$ # check-yaml do not support multi-document file
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.6.2"
hooks:
- id: prettier
types_or: [yaml]
args: [--prose-wrap=always]
- repo: https://github.com/codespell-project/codespell
rev: "v2.4.1"
hooks:
- id: codespell
args: [--ignore-words=.codespellignore, --write-changes]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.33.2"
hooks:
- id: check-dependabot
- id: check-github-workflows
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v20.1.8"
hooks:
- id: clang-format