@@ -99,7 +99,6 @@ errcheck: Errcheck is a program for checking for unchecked errors in go programs
99
99
staticcheck: Staticcheck is a go vet on steroids, applying a ton of static analysis checks [fast: false]
100
100
unused: Checks Go code for unused constants, variables, functions and types [fast: false]
101
101
gosimple: Linter for Go source code that specializes in simplifying a code [fast: false]
102
- gas: Inspects source code for security problems [fast: false]
103
102
structcheck: Finds an unused struct fields [fast: false]
104
103
varcheck: Finds unused global variables and constants [fast: false]
105
104
ineffassign: Detects when assignments to existing variables are not used [fast: true]
@@ -113,6 +112,7 @@ $ golangci-lint help linters
113
112
...
114
113
Disabled by default linters:
115
114
golint: 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]
116
116
interfacer: Linter that suggests narrower interface types [fast: false]
117
117
unconvert: Remove unnecessary type conversions [fast: false]
118
118
dupl: Tool for code clone detection [fast: true]
@@ -291,7 +291,6 @@ golangci-lint help linters
291
291
- [ staticcheck] ( https://staticcheck.io/ ) - Staticcheck is a go vet on steroids, applying a ton of static analysis checks
292
292
- [ unused] ( https://github.com/dominikh/go-tools/tree/master/cmd/unused ) - Checks Go code for unused constants, variables, functions and types
293
293
- [ 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
295
294
- [ structcheck] ( https://github.com/opennota/check ) - Finds an unused struct fields
296
295
- [ varcheck] ( https://github.com/opennota/check ) - Finds unused global variables and constants
297
296
- [ ineffassign] ( https://github.com/gordonklaus/ineffassign ) - Detects when assignments to existing variables are not used
@@ -300,6 +299,7 @@ golangci-lint help linters
300
299
301
300
## Disabled By Default Linters (` -E/--enable ` )
302
301
- [ 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
303
303
- [ interfacer] ( https://github.com/mvdan/interfacer ) - Linter that suggests narrower interface types
304
304
- [ unconvert] ( https://github.com/mdempsky/unconvert ) - Remove unnecessary type conversions
305
305
- [ dupl] ( https://github.com/mibk/dupl ) - Tool for code clone detection
0 commit comments