feat: add innertypealias linter#3525
Conversation
Implements golangci#3490.
|
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements. Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
|
as you are the author of the PR you should not edit my message. And the first 2 conditions are not met:
|
|
Updated. |
| WithURL("https://github.com/gordonklaus/ineffassign"), | ||
|
|
||
| linter.NewConfig(golinters.NewInnerTypeAlias()). | ||
| WithSince("v1.51.0"). |
|
|
The
innertypealiaslinter finds and reports exported types which are an alias for another exported type:https://github.com/gostaticanalysis/innertypealias
Fixes #3490