File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ var defaultLintersSettings = LintersSettings{
198
198
ForceExclusiveShortDeclarations : false ,
199
199
},
200
200
Filen : FilenSettings {
201
- MinLinesNum : 5 ,
202
- MaxLinesNum : 500 ,
201
+ MinLines : 5 ,
202
+ MaxLines : 500 ,
203
203
IgnoreComments : false ,
204
204
},
205
205
}
@@ -1021,8 +1021,8 @@ type WSLSettings struct {
1021
1021
1022
1022
type FilenSettings struct {
1023
1023
IgnoreComments bool `mapstructure:"ignore-comments"`
1024
- MaxLinesNum int `mapstructure:"min-lines-num "`
1025
- MinLinesNum int `mapstructure:"max-lines-num "`
1024
+ MaxLines int `mapstructure:"min-lines"`
1025
+ MinLines int `mapstructure:"max-lines"`
1026
1026
}
1027
1027
1028
1028
// CustomLinterSettings encapsulates the meta-data of a private linter.
Original file line number Diff line number Diff line change 9
9
10
10
func New (settings * config.FilenSettings ) * goanalysis.Linter {
11
11
a := filen .NewAnalyzer (& filen.Runner {
12
- MaxLinesNum : settings .MaxLinesNum ,
13
- MinLinesNum : settings .MinLinesNum ,
12
+ MaxLinesNum : settings .MaxLines ,
13
+ MinLinesNum : settings .MinLines ,
14
14
IgnoreComments : settings .IgnoreComments ,
15
15
})
16
16
You can’t perform that action at this time.
0 commit comments