mirror of
https://github.com/MorizzG/tool-default-configs.git
synced 2025-12-06 01:22:41 +00:00
updates to .clang-tidy and .clang-format
This commit is contained in:
parent
5bdc28e3f2
commit
f85d8b0bf9
2 changed files with 16 additions and 1 deletions
13
.clang-tidy
13
.clang-tidy
|
|
@ -3,20 +3,31 @@ Checks: '
|
|||
bugprone-*,
|
||||
clang-analyzer-*,
|
||||
clang-diagnostic-*,
|
||||
cppcoreguidelines-*,
|
||||
# cppcoreguidelines-*,
|
||||
google-*,
|
||||
llvm-*,
|
||||
misc-*,
|
||||
modernize-*,
|
||||
performance-*,
|
||||
readability-*,
|
||||
|
||||
-bugprone-easily-swappable-parameters,
|
||||
|
||||
-cppcoreguidelines-avoid-magic-numbers,
|
||||
-cppcoreguidelines-pro-bounds-constant-array-index,
|
||||
|
||||
-google-objc-function-naming,
|
||||
-google-readability-todo,
|
||||
|
||||
-misc-no-recursion,
|
||||
-modernize-use-nodiscard,
|
||||
-modernize-use-trailing-return-type,
|
||||
|
||||
-performance-avoid-endl,
|
||||
|
||||
-readability-else-after-return,
|
||||
-readability-identifier-length,
|
||||
-readability-magic-numbers,
|
||||
'
|
||||
|
||||
WarningsAsErrors: '*'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue