File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ var defaultLintersSettings = LintersSettings{
198198 ForceExclusiveShortDeclarations : false ,
199199 },
200200 Filen : FilenSettings {
201- MinLinesNum : 5 ,
202- MaxLinesNum : 500 ,
201+ MinLines : 5 ,
202+ MaxLines : 500 ,
203203 IgnoreComments : false ,
204204 },
205205}
@@ -1015,8 +1015,8 @@ type WSLSettings struct {
10151015
10161016type FilenSettings struct {
10171017 IgnoreComments bool `mapstructure:"ignore-comments"`
1018- MaxLinesNum int `mapstructure:"min-lines-num "`
1019- MinLinesNum int `mapstructure:"max-lines-num "`
1018+ MaxLines int `mapstructure:"min-lines"`
1019+ MinLines int `mapstructure:"max-lines"`
10201020}
10211021
10221022// CustomLinterSettings encapsulates the meta-data of a private linter.
Original file line number Diff line number Diff line change 99
1010func New (settings * config.FilenSettings ) * goanalysis.Linter {
1111 a := filen .NewAnalyzer (& filen.Runner {
12- MaxLinesNum : settings .MaxLinesNum ,
13- MinLinesNum : settings .MinLinesNum ,
12+ MaxLinesNum : settings .MaxLines ,
13+ MinLinesNum : settings .MinLines ,
1414 IgnoreComments : settings .IgnoreComments ,
1515 })
1616
You can’t perform that action at this time.
0 commit comments