Skip to content

Commit a0893e3

Browse files
johejoldez
andauthored
govet: enable timeformat by default (#3602)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent f764234 commit a0893e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: pkg/golinters/govet.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var (
8989
unusedwrite.Analyzer,
9090
}
9191

92-
// https://github.com/golang/go/blob/879db69ce2de814bc3203c39b45617ba51cc5366/src/cmd/vet/main.go#L40-L68
92+
// https://github.com/golang/go/blob/9f834a559c9ed6cdf883e29b36e21e5f956df74f/src/cmd/vet/main.go#L46-L76
9393
defaultAnalyzers = []*analysis.Analyzer{
9494
asmdecl.Analyzer,
9595
assign.Analyzer,
@@ -114,6 +114,7 @@ var (
114114
structtag.Analyzer,
115115
testinggoroutine.Analyzer,
116116
tests.Analyzer,
117+
timeformat.Analyzer,
117118
unmarshal.Analyzer,
118119
unreachable.Analyzer,
119120
unsafeptr.Analyzer,

0 commit comments

Comments
 (0)