https://codeberg.org/interpeer/liberate.git
Tip revision: 21f7edad1655d3f5a525aacf667f389e7f911716 authored by Jens Finkhaeuser on 13 October 2022, 12:10:35 UTC
Bump version: 0.1.0 → 0.2.0
Bump version: 0.1.0 → 0.2.0
Tip revision: 21f7eda
.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