percona/pmm

Enable `revive` linter rule

Open

#2,344 opened on Jul 3, 2023

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Go (223 forks)auto 404
enhancementgood first issuehacktoberfest

Repository metrics

Stars
 (1,077 stars)
PR merge metrics
 (PR metrics pending)

Description

Description

Ref: #1541 We'd like to enable revive 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

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

Contributor guide