@@ -99,7 +99,6 @@ errcheck: Errcheck is a program for checking for unchecked errors in go programs
9999staticcheck: Staticcheck is a go vet on steroids, applying a ton of static analysis checks [fast: false]
100100unused: Checks Go code for unused constants, variables, functions and types [fast: false]
101101gosimple: Linter for Go source code that specializes in simplifying a code [fast: false]
102- gas: Inspects source code for security problems [fast: false]
103102structcheck: Finds an unused struct fields [fast: false]
104103varcheck: Finds unused global variables and constants [fast: false]
105104ineffassign: Detects when assignments to existing variables are not used [fast: true]
@@ -113,6 +112,7 @@ $ golangci-lint help linters
113112...
114113Disabled by default linters:
115114golint: Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes [fast: true]
115+ gas: Inspects source code for security problems [fast: false]
116116interfacer: Linter that suggests narrower interface types [fast: false]
117117unconvert: Remove unnecessary type conversions [fast: false]
118118dupl: Tool for code clone detection [fast: true]
@@ -291,7 +291,6 @@ golangci-lint help linters
291291- [ staticcheck] ( https://staticcheck.io/ ) - Staticcheck is a go vet on steroids, applying a ton of static analysis checks
292292- [ unused] ( https://github.com/dominikh/go-tools/tree/master/cmd/unused ) - Checks Go code for unused constants, variables, functions and types
293293- [ gosimple] ( https://github.com/dominikh/go-tools/tree/master/cmd/gosimple ) - Linter for Go source code that specializes in simplifying a code
294- - [ gas] ( https://github.com/GoASTScanner/gas ) - Inspects source code for security problems
295294- [ structcheck] ( https://github.com/opennota/check ) - Finds an unused struct fields
296295- [ varcheck] ( https://github.com/opennota/check ) - Finds unused global variables and constants
297296- [ ineffassign] ( https://github.com/gordonklaus/ineffassign ) - Detects when assignments to existing variables are not used
@@ -300,6 +299,7 @@ golangci-lint help linters
300299
301300## Disabled By Default Linters (` -E/--enable ` )
302301- [ golint] ( https://github.com/golang/lint ) - Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes
302+ - [ gas] ( https://github.com/GoASTScanner/gas ) - Inspects source code for security problems
303303- [ interfacer] ( https://github.com/mvdan/interfacer ) - Linter that suggests narrower interface types
304304- [ unconvert] ( https://github.com/mdempsky/unconvert ) - Remove unnecessary type conversions
305305- [ dupl] ( https://github.com/mibk/dupl ) - Tool for code clone detection
0 commit comments