Open
Description
Motivation
- Some linters are duplicated partially or fully: [errcheck, goerr13, staticcheck], [modguard, depguard], [golint, stylecheck]
- Some really cool linters aren't used because there are too many linters and only some of them are enabled by default.
- Configuration became too large. Even maintainers (me too) don't know all configuration options and linters.
- A common situation is to have multiple
.golangci.yml
config files because of a lack of extending capabilities.
Proposal
We need to research how eslint, tslint, etc work with that. My first guess is to introduce presets like golangci:recommended
and add the ability to share and reuse such presets like airbnb-eslint. Such presets can include any configuration subset: linters, their configuration, output, etc.