1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-03 05:53:52 +00:00
CLI11/.clang-tidy
Christoph Bachhuber 611431ceb0
Simplify clang tidy config file (#469)
* Update submodule

* Treat all enabled clang-tidy warnings as errors

* Revert "Update submodule"

This reverts commit b455d1d0f97df5ca816058fd78bcca882ab7a761.
2020-06-01 15:29:36 -04:00

26 lines
621 B
YAML

# Checks that will be implemented in future PRs:
# performance-unnecessary-value-param, hints to ~110 issues. Be careful with implementing the suggested changes of this one, as auto-fixes may break the code
FormatStyle: file
Checks: '
-*,
google-*,
-google-runtime-references,
llvm-include-order,
llvm-namespace-comment,
misc-throw-by-value-catch-by-reference,
modernize*,
-modernize-use-trailing-return-type,
readability-container-size-empty,
'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*hpp'
CheckOptions:
- key: google-readability-braces-around-statements.ShortStatementLines
value: '3'