linter
This commit is contained in:
38
.clang-tidy
38
.clang-tidy
@@ -1,21 +1,21 @@
|
||||
Checks: >
|
||||
readability-*,
|
||||
modernize-*,
|
||||
performance-*,
|
||||
bugprone-unchecked-optional-access,
|
||||
bugprone-sizeof-expression,
|
||||
bugprone-suspicious-missing-comma,
|
||||
bugprone-suspicious-index,
|
||||
bugprone-undefined-memory-manipulation,
|
||||
bugprone-use-after-move,
|
||||
bugprone-out-of-bound-access,
|
||||
-readability-identifier-length,
|
||||
-readability-magic-numbers,
|
||||
-bugprone-narrowing-conversions,
|
||||
-performance-enum-size,
|
||||
-performance-inefficient-string-concatenation,
|
||||
-bugprone-integer-division,
|
||||
-bugprone-easily-swappable-parameters,
|
||||
Checks:
|
||||
- readability-*
|
||||
# - modernize-*
|
||||
# - performance-*
|
||||
# - bugprone-unchecked-optional-access
|
||||
# - bugprone-sizeof-expression
|
||||
# - bugprone-suspicious-missing-comma
|
||||
# - bugprone-suspicious-index
|
||||
# - bugprone-undefined-memory-manipulation
|
||||
# - bugprone-use-after-move
|
||||
# - bugprone-out-of-bound-access
|
||||
- -readability-identifier-length
|
||||
- -readability-magic-numbers
|
||||
# - -bugprone-narrowing-conversions
|
||||
# - -performance-enum-size
|
||||
# - -performance-inefficient-string-concatenation
|
||||
# - -bugprone-integer-division
|
||||
# - -bugprone-easily-swappable-parameters
|
||||
|
||||
WarningsAsErrors: '*'
|
||||
# Solo incluir archivos de tu código fuente
|
||||
@@ -80,4 +80,4 @@ CheckOptions:
|
||||
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
||||
|
||||
# Parámetros en lower_case
|
||||
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
||||
|
||||
Reference in New Issue
Block a user