-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpre-commit-config-style.yaml
More file actions
43 lines (43 loc) · 1.12 KB
/
pre-commit-config-style.yaml
File metadata and controls
43 lines (43 loc) · 1.12 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
38
39
40
41
42
43
repos:
- repo: .
rev: HEAD
hooks:
- id: clang-format
args: [--style=LLVM, --version=16] # to load .clang-format
- id: clang-tidy
args: [--checks=.clang-tidy, --version=16] # path/to/.clang-tidy
- repo: .
rev: HEAD
hooks:
- id: clang-format
args: [--style=Google, --version=17]
- id: clang-tidy
args: [--checks=.clang-tidy, --version=17]
- repo: .
rev: HEAD
hooks:
- id: clang-format
args: [--style=Microsoft, --version=18]
- id: clang-tidy
args: [--checks=.clang-tidy, --version=18]
- repo: .
rev: HEAD
hooks:
- id: clang-format
args: [--style=WebKit, --version=19]
- id: clang-tidy
args: [--checks=.clang-tidy, --version=19]
- repo: .
rev: HEAD
hooks:
- id: clang-format
args: [--style=Mozilla, --version=20]
- id: clang-tidy
args: [--checks=.clang-tidy, --version=20]
- repo: .
rev: HEAD
hooks:
- id: clang-format
args: [--style=Chromium, --version=21]
- id: clang-tidy
args: [--checks=.clang-tidy, --version=21]