-
Apologies if this has been answered elsewhere, but what is the reasoning behind the current set of default linters? In particular, why are We're starting to adopt |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The simple answer would be that it was decided by the author many years back and has not been changed much to reduce amount of unexpected behaviour or breaking changes. At this point Similar discussions around sensible default has existed for things like exclude-use-default which also shows that some defaults chosen for |
Beta Was this translation helpful? Give feedback.
The simple answer would be that it was decided by the author many years back and has not been changed much to reduce amount of unexpected behaviour or breaking changes. At this point
golangci-lint
has so many linters and configurations it's hard to do a one-config-fits-all because we have such different needs and I think it's resonable to assume users adopting the tool will also configure it for their needs.Similar discussions around sensible default has existed for things like exclude-use-default which also shows that some defaults chosen for
golangci-lint
does not fit everyone.