https://codeberg.org/interpeer/liberate.git
Tip revision: 1caad752b167322ce965f1aa09de3d305dc075ec authored by Jens Finkhaeuser on 24 October 2022, 08:53:55 UTC
Try using codeberg's registry for images
Try using codeberg's registry for images
Tip revision: 1caad75
.oclint
disable-rules:
- BitwiseOperatorInConditional # Used a fair bit, and for good reason.
- InvertedLogic # Complains about "if (!foo) shortpath;"
- ParameterReassignment # Complains about out parameters
- UnnecessaryDefaultStatement # Good to have if enum changes
- TooFewBranchesInSwitchStatement # Prefer switches for enums
rule-configurations:
- key: LONG_LINE # Shorten the default
value: 80
- key: LONG_METHOD # Lengthen the default
value: 75
- key: SHORT_VARIABLE_NAME # Shorten default by one - two is often ok
value: 2
- key: NCSS_METHOD # Lengthen the default
value: 50