-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
82 lines (72 loc) · 2.05 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
---
ci:
skip: [cppcheck,cpplint]
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.5.0'
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: destroyed-symlinks
- id: destroyed-symlinks
- id: detect-private-key
- 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/jumanjihouse/pre-commit-hooks
rev: '3.0.0'
hooks:
- id: forbid-binary
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: 'v1.5.4'
hooks:
- id: remove-crlf
- id: remove-tabs
args: ['--whitespaces-count', '2']
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '2.7.3'
hooks:
- id: editorconfig-checker
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: 'v0.38.0'
hooks:
- id: markdownlint
args: ['--config=.markdownlint.yml','scan']
- repo: https://github.com/codespell-project/codespell
rev: 'v2.2.6'
hooks:
- id: codespell
- repo: https://github.com/Kr4is/cmake-format-precommit
rev: 'v0.6.14'
hooks:
- id: cmake-format
args: ['--config=.cmake-format.yml']
- id: cmake-lint
args: ['--config=.cmake-linter.yml']
- repo: https://github.com/sirosen/check-jsonschema
rev: '0.27.3'
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v17.0.6'
hooks:
- id: clang-format
- repo: https://github.com/pocc/pre-commit-hooks
rev: 'v1.3.5'
hooks:
- id: cppcheck
- id: cpplint