https://codeberg.org/interpeer/liberate.git
Revision 9e635b4a1227e58779c8c024edcf2df31d6d4f90 authored by Jens Finkhaeuser on 02 June 2021, 09:17:49 UTC, committed by Jens Finkhaeuser on 02 June 2021, 09:17:49 UTC
1 parent b2a4dd7
Raw File
Tip revision: 9e635b4a1227e58779c8c024edcf2df31d6d4f90 authored by Jens Finkhaeuser on 02 June 2021, 09:17:49 UTC
Make network class copyable. I hope this works out, I'm undecided if it's a great idea.
Tip revision: 9e635b4
.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