-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
41 lines (37 loc) · 1.11 KB
/
.clang-tidy
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
Checks: '
-*,
bugprone-*,
cppcoreguidelines-*,
google-readability-braces-around-statements,
google-build-using-namespace,
misc-unused-parameters,
modernize-*,
performance-*,
readability-*,
'
HeaderFilterRegex: 'source/*/.*'
WarningsAsErrors: '*'
FormatStyle: file
CheckOptions:
- key: readability-identifier-length.MinimumVariableNameLength
value: 1
- key: readability-identifier-length.MinimumParameterNameLength
value: 1
- key: readability-identifier-length.MinimumLoopCounterNameLength
value: 1
- key: readability-function-size.LineThreshold
value: 130
- key: readability-function-size.StatementThreshold
value: 110
- key: readability-function-size.ParameterThreshold
value: 6
- key: readability-function-size.NestingThreshold
value: 7
- key: readability-function-size.VariableThreshold
value: 35
- key: readability-function-cognitive-complexity.Threshold
value: 60
- key: bugprone-easily-swappable-parameters.MinimumLength
value: 4
- key: bugprone-easily-swappable-parameters.ModelImplicitConversions
value: false