You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just something to be aware of when you'll customize revive config in golangci lint config file. As it it is today, the default configuration of revive is used by default. But once you'll want to specify the activation of a rule, you'll need to add explicitly every other rules you want to be activated including the list of the defaults, otherwise you'll have only one active rule.
I know, it's a pain. That's why I started working on a personal project to document such things and provide ready to go golangci-lint configuration files
I noticed than many of the code review I'm doing are about code simplification are about early-return pattern.
I recommend using revive that could detect this pattern. early-return is one we need I think
We may review a few more linters in the process but it would definitely help I think
Originally posted by @ccoVeille in #155 (comment)
The text was updated successfully, but these errors were encountered: