]> Sergey Matveev's repositories - nnn.git/blob - src/.clang-tidy
c8b9b93b0d3dcbf0d2d7cb22d5b1f33d85270aac
[nnn.git] / src / .clang-tidy
1 ---
2 Checks: >
3     clang-diagnostic-*,
4     clang-analyzer-*,
5     readability-*,
6     modernize-*,
7     bugprone-*,
8     misc-*,
9     google-runtime-int,
10     fuchsia-restrict-system-includes,
11     -misc-unused-parameters,
12     -llvm-header-guard,
13     -clang-analyzer-valist.Uninitialized,
14     -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
15     -clang-analyzer-security.insecureAPI.rand,
16     -clang-analyzer-alpha.*,
17     -modernize-macro-to-enum,
18     -readability-magic-numbers,
19     -readability-braces-around-statements,
20     -readability-function-cognitive-complexity,
21     -readability-identifier-length,
22     -readability-isolate-declaration,
23     -readability-suspicious-call-argument,
24     -bugprone-easily-swappable-parameters,
25     -bugprone-narrowing-conversions,
26     -bugprone-reserved-identifier,
27
28 WarningsAsErrors: '*'
29 HeaderFilterRegex: '.*(?<!lookup3.c)$'
30 FormatStyle: 'file'
31 CheckOptions:
32   - key:             readability-braces-around-statements.ShortStatementLines
33     value:           '1'
34   - key:             google-runtime-int.TypeSufix
35     value:           '_t'
36   - key:             fuchsia-restrict-system-includes.Includes
37     value:           '*,-stdint.h,-stdbool.h'
38   - key:             readability-function-size.StatementThreshold
39     value:           '950'
40 ...