mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-10-10 20:17:15 +03:00
972d8560b5
Adds a clang-tidy run in addition to the existing clang-format checks. The clang-tidy checks are not enforced, but is potentially useful to point to during review.
33 lines
973 B
YAML
33 lines
973 B
YAML
Checks: >
|
|
.*,
|
|
bugprone-*,
|
|
concurrency-*,
|
|
google-*,
|
|
portability-*,
|
|
performance-*,
|
|
clang-analyzer-*,
|
|
readability-*,
|
|
-readability-implicit-bool-conversion,
|
|
-readability-isolate-declaration,
|
|
-readability-uppercase-literal-suffix,
|
|
misc-*,
|
|
-misc-noexcept*,
|
|
modernize-*,
|
|
-modernize-deprecated-headers,
|
|
-modernize-use-nodiscard,
|
|
-modernize-raw-string-literal,
|
|
-modernize-return-braced-init-list,
|
|
-modernize-use-equals-delete,
|
|
-modernize-use-trailing-return-type,
|
|
|
|
|
|
|
|
CheckOptions:
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.ClassMethodCase, value: camelBack }
|
|
- { key: readability-identifier-naming.VariableCase, value: camelBack }
|
|
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
|
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
|
|
- { key: readability-identifier-naming.ParameterCase, value: camelBack }
|
|
|