mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
lint(tidy): some clang-tidy work
This commit is contained in:
36
.clang-tidy
Normal file
36
.clang-tidy
Normal file
@@ -0,0 +1,36 @@
|
||||
Checks: >
|
||||
clang-analyzer-*,
|
||||
bugprone-*,
|
||||
cert-*,
|
||||
modernize-*,
|
||||
performance-*,
|
||||
portability-*,
|
||||
readability-*,
|
||||
-readability-braces-around-statements,
|
||||
|
||||
WarningsAsErrors: ''
|
||||
HeaderFilterRegex: '.*'
|
||||
FormatStyle: file
|
||||
|
||||
CheckOptions:
|
||||
- key: readability-magic-numbers.IgnoredIntegerValues
|
||||
value: '0;1;2;3;10;255'
|
||||
# - key: readability-magic-numbers.IgnoredValues
|
||||
# value: '0;1;2;3;10;255'
|
||||
- key: readability-identifier-naming.VariableCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.ConstantParameterCase
|
||||
value: UPPER_CASE
|
||||
|
||||
- key: readability-identifier-length.VariableThreshold
|
||||
value: '2'
|
||||
- key: readability-identifier-length.ParameterThreshold
|
||||
value: '2'
|
||||
- key: readability-identifier-length.LocalConstantThreshold
|
||||
value: '2'
|
||||
- key: readability-identifier-length.MemberThreshold
|
||||
value: '2'
|
||||
- key: readability-identifier-length.MinimumParameterNameLength
|
||||
value: '2'
|
||||
- key: readability-identifier-length.MinimumVariableNameLength
|
||||
value: '2'
|
Reference in New Issue
Block a user