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
|
|
@ -6,5 +6,9 @@ ColumnLimit: 100
|
|||
---
|
||||
Language: Cpp
|
||||
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
|
||||
IndentCaseLabels: false
|
||||
|
||||
DerivePointerAlignment: false
|
||||
PointerAlignment: Left
|
||||
13
.clang-tidy
13
.clang-tidy
|
|
@ -3,7 +3,7 @@ Checks: '
|
|||
bugprone-*,
|
||||
clang-analyzer-*,
|
||||
clang-diagnostic-*,
|
||||
cppcoreguidelines-*,
|
||||
# cppcoreguidelines-*,
|
||||
google-*,
|
||||
llvm-*,
|
||||
misc-*,
|
||||
|
|
@ -11,12 +11,23 @@ Checks: '
|
|||
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