Update gomnd.go

This commit is contained in:
Tommy Mühle 2019-12-02 15:59:37 +01:00 committed by Trevor Pounds
parent c8af5b0927
commit 704f9efede

View File

@ -14,7 +14,7 @@ func NewGoMND() *goanalysis.Linter {
return goanalysis.NewLinter( return goanalysis.NewLinter(
"gomnd", "gomnd",
"checks whether magic number is used", "A analyzer to detect magic numbers.",
analyzers, analyzers,
nil, nil,
).WithLoadMode(goanalysis.LoadModeSyntax) ).WithLoadMode(goanalysis.LoadModeSyntax)