blob: f61748169bc11e693d1fd722d6f86c40fe74ebbc [file] [log] [blame]
Brandon Kim638384c2022-05-10 14:09:48 -07001Checks: '
2-*,
Brandon Kim638384c2022-05-10 14:09:48 -07003
Jayanth Othayoth4263ed42024-12-08 11:46:12 -06004bugprone-*,
5-bugprone-easily-swappable-parameters,
6-bugprone-exception-escape,
7-bugprone-unchecked-optional-access,
8cert-*,
9clang-analyzer-*,
10-clang-analyzer-optin.*,
11-clang-analyzer-osx.*,
12-clang-analyzer-webkit.*,
13cppcoreguidelines-*,
14-cppcoreguidelines-avoid-const-or-ref-data-members,
15-cppcoreguidelines-avoid-magic-numbers,
16-cppcoreguidelines-init-variables,
17-cppcoreguidelines-macro-to-enum,
18-cppcoreguidelines-macro-usage,
19-cppcoreguidelines-non-private-member-variables-in-classes,
20-cppcoreguidelines-prefer-member-initializer,
21-cppcoreguidelines-pro-bounds-constant-array-index,
22-cppcoreguidelines-pro-bounds-pointer-arithmetic,
23-cppcoreguidelines-pro-type-member-init,
24-cppcoreguidelines-pro-type-reinterpret-cast,
25-cppcoreguidelines-special-member-functions,
26-cppcoreguidelines-use-default-member-init,
27-cppcoreguidelines-virtual-class-destructor,
28misc-*,
29-misc-const-correctness,
30-misc-include-cleaner,
31-misc-non-private-member-variables-in-classes,
32modernize-*,
33-modernize-concat-nested-namespaces,
34-modernize-macro-to-enum,
35-modernize-use-auto,
36-modernize-use-default-member-init,
37-modernize-use-nodiscard,
38-modernize-use-trailing-return-type,
39performance-*,
40-performance-enum-size,
41readability-*,
42-readability-avoid-const-params-in-decls,
43-readability-convert-member-functions-to-static,
44-readability-function-cognitive-complexity,
45-readability-identifier-length,
46-readability-implicit-bool-conversion,
47-readability-magic-numbers,
48-readability-make-member-function-const,
49-readability-redundant-string-cstr,
50-readability-redundant-string-init,
51-readability-simplify-boolean-expr,
52-readability-static-definition-in-anonymous-namespace,
53'
54
55# Treat all warnings as errors
Brandon Kim638384c2022-05-10 14:09:48 -070056WarningsAsErrors: '*'
Jayanth Othayoth4263ed42024-12-08 11:46:12 -060057
58# Apply checks to all files
Brandon Kim638384c2022-05-10 14:09:48 -070059HeaderFilterRegex: '^((?!linux).)*$'
Jayanth Othayoth4263ed42024-12-08 11:46:12 -060060
Brandon Kim638384c2022-05-10 14:09:48 -070061CheckOptions:
62 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
63 - { key: readability-identifier-naming.VariableCase, value: camelBack }
64 - { key: readability-identifier-naming.FunctionCase, value: camelBack }
65 - { key: readability-identifier-naming.ParameterCase, value: camelBack }
66 - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
67 - { key: readability-identifier-naming.StructCase, value: CamelCase }
Jayanth Othayoth4263ed42024-12-08 11:46:12 -060068
69# Disable automatic formatting
70FormatStyle: none
71