News for hackers. Stuff that matters.
Re:My Beef with RuboCop by red2awn on Thursday November 19, 2020 @09:04AM (#25149535)
But a formatter can only format auto-fixable code right? I meant lints like high cyclomatic complexity, which requires me to extract out functions pointlessly.

I was an intern at that time so didn't make a fuss about changing the config.

Re:My Beef with RuboCop by nathan_f77 on Thursday November 19, 2020 @09:20AM (#25149685)
Ah yes, that's right. I actually turn off all of the cyclomatic complexity rules or set very high limits because I find those to be really annoying. So I mainly use RuboCop as a code formatter, plus some minor linting and style rules that aren't too obtrusive. I actually disagree with the parent article, and I've grown to really appreciate guard clauses. I find them much easier to read now.

VS Code will still highlight those cyclomatic complexity errors in the editor, so at least you will be able to fix them (or turn them off) without needing to wait for a CI build to finish.