parent
2cadaf5beb
commit
d63d23537d
@ -429,8 +429,8 @@ golangci-lint help linters
|
|||||||
- [govet](https://golang.org/cmd/vet/) - Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
|
- [govet](https://golang.org/cmd/vet/) - Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
|
||||||
- [errcheck](https://github.com/kisielk/errcheck) - Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
|
- [errcheck](https://github.com/kisielk/errcheck) - Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
|
||||||
- [staticcheck](https://staticcheck.io/) - Staticcheck is a go vet on steroids, applying a ton of static analysis checks
|
- [staticcheck](https://staticcheck.io/) - Staticcheck is a go vet on steroids, applying a ton of static analysis checks
|
||||||
- [unused](https://github.com/dominikh/go-tools/tree/master/cmd/unused) - Checks Go code for unused constants, variables, functions and types
|
- [unused](https://github.com/dominikh/go-tools/tree/master/unused) - Checks Go code for unused constants, variables, functions and types
|
||||||
- [gosimple](https://github.com/dominikh/go-tools/tree/master/cmd/gosimple) - Linter for Go source code that specializes in simplifying a code
|
- [gosimple](https://github.com/dominikh/go-tools/tree/master/simple) - Linter for Go source code that specializes in simplifying a code
|
||||||
- [structcheck](https://github.com/opennota/check) - Finds unused struct fields
|
- [structcheck](https://github.com/opennota/check) - Finds unused struct fields
|
||||||
- [varcheck](https://github.com/opennota/check) - Finds unused global variables and constants
|
- [varcheck](https://github.com/opennota/check) - Finds unused global variables and constants
|
||||||
- [ineffassign](https://github.com/gordonklaus/ineffassign) - Detects when assignments to existing variables are not used
|
- [ineffassign](https://github.com/gordonklaus/ineffassign) - Detects when assignments to existing variables are not used
|
||||||
|
@ -114,12 +114,12 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
|||||||
WithLoadDepsTypeInfo().
|
WithLoadDepsTypeInfo().
|
||||||
WithPresets(linter.PresetUnused).
|
WithPresets(linter.PresetUnused).
|
||||||
WithSpeed(5).
|
WithSpeed(5).
|
||||||
WithURL("https://github.com/dominikh/go-tools/tree/master/cmd/unused"),
|
WithURL("https://github.com/dominikh/go-tools/tree/master/unused"),
|
||||||
linter.NewConfig(golinters.NewGosimple()).
|
linter.NewConfig(golinters.NewGosimple()).
|
||||||
WithLoadForGoAnalysis().
|
WithLoadForGoAnalysis().
|
||||||
WithPresets(linter.PresetStyle).
|
WithPresets(linter.PresetStyle).
|
||||||
WithSpeed(5).
|
WithSpeed(5).
|
||||||
WithURL("https://github.com/dominikh/go-tools/tree/master/cmd/gosimple"),
|
WithURL("https://github.com/dominikh/go-tools/tree/master/simple"),
|
||||||
linter.NewConfig(golinters.NewStylecheck()).
|
linter.NewConfig(golinters.NewStylecheck()).
|
||||||
WithLoadForGoAnalysis().
|
WithLoadForGoAnalysis().
|
||||||
WithPresets(linter.PresetStyle).
|
WithPresets(linter.PresetStyle).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user