@@ -222,6 +222,7 @@ golint: Golint differs from gofmt. Gofmt reformats Go source code, whereas golin
222
222
gosec (gas): Inspects source code for security problems [fast: true, auto-fix: false]
223
223
interfacer: Linter that suggests narrower interface types [fast: true, auto-fix: false]
224
224
lll: Reports long lines [fast: true, auto-fix: false]
225
+ magicnumber: checks whether magic number detector is used [fast: true, auto-fix: false]
225
226
maligned: Tool to detect Go structs that would take less memory if their fields were sorted [fast: true, auto-fix: false]
226
227
misspell: Finds commonly misspelled English words in comments [fast: true, auto-fix: true]
227
228
nakedret: Finds naked returns in functions greater than a specified function length [fast: true, auto-fix: false]
@@ -480,6 +481,7 @@ golangci-lint help linters
480
481
- [funlen](https://github.com/ultraware/funlen) - Tool for detection of long functions
481
482
- [whitespace](https://github.com/ultraware/whitespace) - Tool for detection of leading and trailing whitespace
482
483
- [wsl](https://github.com/bombsimon/wsl) - Whitespace Linter - Forces you to use empty lines!
484
+ - [magicnumber](https://github.com/tommy-muehle/go-mnd) - checks whether magic number detector is used
483
485
484
486
## Configuration
485
487
@@ -943,7 +945,7 @@ linters-settings:
943
945
lll:
944
946
line-length: 140
945
947
goimports:
946
- local-prefixes: github.com/golangci/golangci-lint
948
+ local-prefixes: github.com/golangci/golangci-lint github.com/golangci/golangci-lint/pkg/golinters/goanalysis
947
949
gocritic:
948
950
enabled-tags:
949
951
- diagnostic
@@ -1163,6 +1165,7 @@ Thanks to developers and authors of used linters:
1163
1165
- [matoous](https://github.com/matoous)
1164
1166
- [ultraware](https://github.com/ultraware)
1165
1167
- [bombsimon](https://github.com/bombsimon)
1168
+ - [tommy-muehle](https://github.com/tommy-muehle)
1166
1169
1167
1170
## Changelog
1168
1171
0 commit comments