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