-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
.pre-commit-config.yaml
40 lines (40 loc) · 1002 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
35
36
37
38
39
40
exclude: |
(?x)(
^foo_ui_columns/resource.h|
^foo_ui_columns/assets/vectors/minified/.*|
.rc|
.vcxproj|
.vcxproj.filters
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
hooks:
- id: prettier
exclude: ^docs/source
types_or: [json, markdown, yaml]
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.18
hooks:
- id: mdformat
files: ^docs/source
additional_dependencies:
- mdformat-myst
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.3
hooks:
- id: clang-format
types_or: [c++]