Skip to content

Commit

Permalink
update: clang-tidy rules
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Khaustov aka xDimon <[email protected]>
  • Loading branch information
xDimon committed Oct 14, 2024
1 parent 1947561 commit 7265bfa
Showing 1 changed file with 44 additions and 2 deletions.
46 changes: 44 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,50 @@
#

---
Checks: '-*,clang-analyzer-*,clang-diagnostic-*,readability-*,modernize-*,-modernize-use-trailing-return-type,boost-*,bugprone-*,cppcoreguidelines-*,google-*,hicpp-*,performance-*,readability-*,-google-readability-namespace-comments,-readability-inconsistent-declaration-parameter-name,-readability-braces-around-statements,-hicpp-signed-bitwise,-google-runtime-references,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-readability-magic-numbers,-hicpp-explicit-conversions,-hicpp-uppercase-literal-suffix,-readability-uppercase-literal-suffix,-hicpp-no-array-decay,-hicpp-special-member-functions,-bugprone-narrowing-conversions,-modernize-use-nodiscard,-google-readability-braces-around-statements,-hicpp-braces-around-statements,-bugprone-suspicious-semicolon,-readability-named-parameter,-hicpp-named-parameter,-readability-identifier-naming'
WarningsAsErrors: 'modernize-*,cppcoreguidelines-*,boost-*,google-build-using-namespace,readability-else-after-return,google-readability-todo'
Checks: "-*,
clang-analyzer-*, \
clang-diagnostic-*, \
-clang-diagnostic-missing-template-arg-list-after-template-kw, \
modernize-*, \
-modernize-use-nodiscard, \
-modernize-use-trailing-return-type, \
boost-*, \
bugprone-*, \
-bugprone-narrowing-conversions, \
-bugprone-suspicious-semicolon, \
cppcoreguidelines-*, \
-cppcoreguidelines-rvalue-reference-param-not-moved, \
-cppcoreguidelines-avoid-magic-numbers, \
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, \
google-*, \
-google-readability-namespace-comments, \
-google-readability-braces-around-statements, \
-google-runtime-references, \
hicpp-*, \
-hicpp-explicit-conversions, \
-hicpp-uppercase-literal-suffix, \
-hicpp-signed-bitwise, \
-hicpp-no-array-decay, \
-hicpp-special-member-functions, \
-hicpp-braces-around-statements, \
-hicpp-named-parameter, \
performance-*, \
readability-*, \
-readability-magic-numbers, \
-readability-named-parameter, \
-readability-identifier-naming, \
-readability-uppercase-literal-suffix, \
-readability-inconsistent-declaration-parameter-name, \
-readability-braces-around-statements"
WarningsAsErrors: "modernize-*, \
cppcoreguidelines-*, \
boost-*, \
performance-*, \
google-build-using-namespace, \
readability-else-after-return, \
readability-container-contains, \
google-readability-todo"
HeaderFilterRegex: '\(hpp|h|pb\.h)'
AnalyzeTemporaryDtors: false
FormatStyle: .clang-format
User: user
Expand Down

0 comments on commit 7265bfa

Please sign in to comment.