File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1801,6 +1801,8 @@ linters-settings:
18011801 - sortslice
18021802 # Check signature of methods of well-known interfaces.
18031803 - stdmethods
1804+ # Check for uses of too-new standard library symbols.
1805+ - stdversion
18041806 # Check for string(int) conversions.
18051807 - stringintconv
18061808 # Check that struct field tags conform to reflect.StructTag.Get.
Original file line number Diff line number Diff line change 200200 " slog" ,
201201 " sortslice" ,
202202 " stdmethods" ,
203+ " stdversion" ,
203204 " stringintconv" ,
204205 " structtag" ,
205206 " testinggoroutine" ,
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import (
4040 "golang.org/x/tools/go/analysis/passes/slog"
4141 "golang.org/x/tools/go/analysis/passes/sortslice"
4242 "golang.org/x/tools/go/analysis/passes/stdmethods"
43+ "golang.org/x/tools/go/analysis/passes/stdversion"
4344 "golang.org/x/tools/go/analysis/passes/stringintconv"
4445 "golang.org/x/tools/go/analysis/passes/structtag"
4546 "golang.org/x/tools/go/analysis/passes/testinggoroutine"
8990 slog .Analyzer ,
9091 sortslice .Analyzer ,
9192 stdmethods .Analyzer ,
93+ stdversion .Analyzer ,
9294 stringintconv .Analyzer ,
9395 structtag .Analyzer ,
9496 testinggoroutine .Analyzer ,
You can’t perform that action at this time.
0 commit comments