https://codeberg.org/interpeer/liberate.git
Raw File
Tip revision: 8b54e65d8419772e0721c969273aec91961c41f3 authored by Jens Finkhaeuser on 04 May 2023, 07:42:04 UTC
Migrate clone changes over from s3kr1t
Tip revision: 8b54e65
.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
back to top