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