-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
enhancementNew feature or improvementNew feature or improvement
Milestone
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.
evgenymarkov, kylechadha, matrixik, ttys3, thepwagner and 11 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvement