cobra
cobra copied to clipboard
Update golangci configuration
Thanks @umarcor, can you provide details on why you had/chose to make these changes? Thanks
@marckhouzam I just applied the "defaults" as currently documented in https://golangci-lint.run/usage/linters/. I enabled the ones listed in https://golangci-lint.run/usage/linters/#enabled-by-default, which were not enabled here. By the way, I cleaned up the ones marked as "no longer maintained" or "replaced by".
@marckhouzam also, the makefile was modified because gofmt
is now enabled in the golangci-lint configuration. Hence, it is redundant to run it independently.