Revision eb0e32699782d5ee3620c5411f6efefaf0e10c68 authored by Las on 12 November 2021, 15:41:27 UTC, committed by Las on 12 November 2021, 15:41:27 UTC
Add flake

See merge request interpeer/liberate!1
2 parent s 46fdf5d + 7415c40
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