https://codeberg.org/interpeer/liberate.git
Revision 76b28f348e892719821919e5c9c6f945af94d3ca authored by Jens Finkhaeuser on 15 February 2021, 09:44:27 UTC, committed by Jens Finkhaeuser on 15 February 2021, 09:44:27 UTC
1 parent 135cfb3
Raw File
Tip revision: 76b28f348e892719821919e5c9c6f945af94d3ca authored by Jens Finkhaeuser on 15 February 2021, 09:44:27 UTC
Ensure crc32 works with byte iterators as well
Tip revision: 76b28f3
.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