File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
package golinters
2
2
3
3
import (
4
- magic_numbers "github.com/tommy-muehle/go-mnd"
4
+ mnd "github.com/tommy-muehle/go-mnd"
5
5
"golang.org/x/tools/go/analysis"
6
6
7
7
"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
8
8
)
9
9
10
- func NewGomnd () * goanalysis.Linter {
10
+ func NewGoMND () * goanalysis.Linter {
11
11
analyzers := []* analysis.Analyzer {
12
- magic_numbers .Analyzer ,
12
+ mnd .Analyzer ,
13
13
}
14
14
15
15
return goanalysis .NewLinter (
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
208
208
linter .NewConfig (golinters .NewWSL ()).
209
209
WithPresets (linter .PresetStyle ).
210
210
WithURL ("https://github.com/bombsimon/wsl" ),
211
- linter .NewConfig (golinters .NewGomnd ()).
211
+ linter .NewConfig (golinters .NewGoMND ()).
212
212
WithPresets (linter .PresetStyle ).
213
213
WithURL ("https://github.com/tommy-muehle/go-mnd" ),
214
214
}
You can’t perform that action at this time.
0 commit comments