Add clang-tidy configuration and watch script for improved code quality checks
This commit is contained in:
1 parent
fb273e0f8f
commit
fca0c19207
5 files changed
+197
No files matched your search
+28
@@ -0,0 +1,28 @@
|
||||
---
|
||||
Checks: >
|
||||
-*,
|
||||
clang-analyzer-*,
|
||||
bugprone-*,
|
||||
cert-*,
|
||||
cppcoreguidelines-*,
|
||||
modernize-*,
|
||||
performance-*,
|
||||
portability-*,
|
||||
readability-*,
|
||||
-cppcoreguidelines-avoid-magic-numbers,
|
||||
-readability-magic-numbers,
|
||||
-modernize-use-trailing-return-type,
|
||||
-cppcoreguidelines-owning-memory
|
||||
# WarningsAsErrors: "*"
|
||||
HeaderFilterRegex: "^(include|source)/"
|
||||
FormatStyle: none
|
||||
SystemHeaders: false
|
||||
CheckOptions:
|
||||
- key: readability-identifier-naming.VariableCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.FunctionCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.ClassCase
|
||||
value: CamelCase
|
||||
- key: cppcoreguidelines-pro-bounds-pointer-arithmetic.AllowIncrementDecrementOperators
|
||||
value: "true"
|
||||
Reference in new issue
Block a user