2020-05-14 18:15:35 -04:00
|
|
|
Checks: >-
|
|
|
|
-*,
|
|
|
|
readability-identifier-naming,
|
|
|
|
readability-redundant-string-cstr,
|
|
|
|
readability-redundant-string-init,
|
|
|
|
readability-simplify-boolean-expr,
|
|
|
|
performance-unnecessary-value-param,
|
|
|
|
performance-unnecessary-copy-initialization,
|
|
|
|
performance-for-range-copy,
|
|
|
|
performance-implicit-conversion-in-loop,
|
2018-05-06 13:07:34 -04:00
|
|
|
CheckOptions:
|
|
|
|
- key: readability-identifier-naming.PrivateMemberPrefix
|
|
|
|
value: 'm_'
|
|
|
|
- key: readability-identifier-naming.ClassConstantCase
|
|
|
|
value: aNy_CasE
|
|
|
|
# an empty *Prefix needs a *Case to work
|
|
|
|
- key: readability-identifier-naming.ClassConstantPrefix
|
|
|
|
value: ''
|
|
|
|
#- key: readability-identifier-naming.PrivateMemberCase
|
|
|
|
# value: CamelCase
|
|
|
|
#- key: readability-identifier-naming.FunctionCase
|
|
|
|
# value: CamelCase
|
|
|
|
#- key: readability-identifier-naming.EnumCase
|
|
|
|
# value: camelBack
|
2020-05-14 18:15:35 -04:00
|
|
|
|
|
|
|
- key: performance-unnecessary-value-param.AllowedTypes
|
|
|
|
value: 'cEntityEffect;cNoise'
|
2018-05-06 13:07:34 -04:00
|
|
|
WarningsAsErrors: '*'
|
|
|
|
HeaderFilterRegex: '/cuberite/src/\.?[^\.]'
|
2020-05-14 18:15:35 -04:00
|
|
|
FormatStyle: 'file'
|