Revision 64f55afed7a212d55c591e4352f3737a05ce8707 authored by Jens Finkhaeuser on 13 July 2020, 13:51:44 UTC, committed by Jens Finkhaeuser on 13 July 2020, 13:51:44 UTC
1 parent de6c7b7
Raw File
.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