imho, linters should have 2 modes:
- gripes about immediately fixable things
- gripes about size/complexity
The later can't be dealt with on every build- reducing the cyclomatic complexity means changing maybe 50-100 lines of code, a huge & potentially dangerous refactor.
Post
February 6, 2020