pmm icon indicating copy to clipboard operation
pmm copied to clipboard

Enable `gocognit` linter rule

Open ademidoff opened this issue 1 year ago • 1 comments

Description

Ref: #1541 We'd like to enable gocognit linter rule.

Suggested solution

  • evaluate if we can afford to enable the rule
  • if yes, fix all linter error to make tests pass
  • if not, disable the rule and leave a comment explaining why (subject to review by the dev team)

Additional context

The rule can be enabled by simply removing this line. You can check similar PRs to see how we enabled some other rules (ref: #1541)

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ademidoff avatar Jul 03 '23 14:07 ademidoff

Hey, is this still relevent ?

KyriosGN0 avatar Jun 08 '24 09:06 KyriosGN0