cloudbeat icon indicating copy to clipboard operation
cloudbeat copied to clipboard

Enable revive linter

Open orestisfl opened this issue 2 years ago • 2 comments

Motivation The revive linter offers various checks for Go best-practices and common bugs and can help with code consistency and code review. It is currently disabled in our golangci.yml.

Definition of done What needs to be completed at the end of this task

  • [x] Enable the revive linter
  • [x] Investigate which rules are beneficial and enable them gradually, fixing any findings in the process

Rules:

orestisfl avatar Dec 18 '23 07:12 orestisfl

@orestisfl can this be closed? there is no one assigned to it

olegsu avatar Jan 28 '24 12:01 olegsu

@orestisfl can this be closed? there is no one assigned to it

The remaining 11 rules need to be configured or explicitly ignored, I am letting the cloudbeat team decide but I don't see a reason to close the ticket.

orestisfl avatar Jan 28 '24 13:01 orestisfl