Revision 70aa34fa4ff15e4d7efc7ddfb9530860e5b435ab authored by Lars Bilke on 31 August 2021, 08:50:53 UTC, committed by Lars Bilke on 31 August 2021, 10:19:41 UTC
If git clang-format is not available the check always passes. I did
not found a way to let pre-commit mark the check as skipped or not
available to indicate that the checks are not run complete.
1 parent dc91a2b
Raw File
.clang-tidy
---
Checks: '-*,clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-pro-type-member-init, *explicit-conversions*, google-explicit-constructor, google-readability-braces-around-statements, modernize-loop-convert, modernize-use-default-member-init, modernize-use-emplace, modernize-use-using, readability-braces-around-statements, readability-else-after-return, readability-named-parameter, *readability-namespace-comments, *readability-inconsistent-*, readability-redundant-member-init, readability-simplify-boolean-expr, readability-string-compare'

WarningsAsErrors: ''
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle:     file
CheckOptions:
  - key:             google-readability-braces-around-statements.ShortStatementLines
    value:           '1'
  - key:             hicpp-braces-around-statements.ShortStatementLines
    value:           '1'
  - key:             readability-braces-around-statements.ShortStatementLines
    value:           '1'
back to top