Skip to content

Commit 94eaa8f

Browse files
authored
update go-critic (#679)
Go-critic got a new checker `regexpPattern`.
1 parent 5884581 commit 94eaa8f

File tree

5 files changed

+77
-4
lines changed

5 files changed

+77
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/OpenPeeDeeP/depguard v1.0.0
88
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
99
github.com/fatih/color v1.6.0
10-
github.com/go-critic/go-critic v0.3.5-0.20190526074819-1df300866540
10+
github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db
1111
github.com/go-lintpack/lintpack v0.5.2
1212
github.com/go-ole/go-ole v1.2.1 // indirect
1313
github.com/gobwas/glob v0.2.3 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ github.com/fatih/color v1.6.0 h1:66qjqZk8kalYAvDRtM1AdAJQI0tj4Wrue3Eq3B3pmFU=
1010
github.com/fatih/color v1.6.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
1111
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
1212
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
13-
github.com/go-critic/go-critic v0.3.5-0.20190526074819-1df300866540 h1:djv/qAomOVj8voCHt0M0OYwR/4vfDq1zNKSPKjJCexs=
14-
github.com/go-critic/go-critic v0.3.5-0.20190526074819-1df300866540/go.mod h1:+sE8vrLDS2M0pZkBk0wy6+nLdKexVDrl/jBqQOTDThA=
13+
github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db h1:GYXWx7Vr3+zv833u+8IoXbNnQY0AdXsxAgI0kX7xcwA=
14+
github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db/go.mod h1:+sE8vrLDS2M0pZkBk0wy6+nLdKexVDrl/jBqQOTDThA=
1515
github.com/go-lintpack/lintpack v0.5.2 h1:DI5mA3+eKdWeJ40nU4d6Wc26qmdG8RCi/btYq0TuRN0=
1616
github.com/go-lintpack/lintpack v0.5.2/go.mod h1:NwZuYi2nUHho8XEIZ6SIxihrnPoqBTDqfpXvXAN0sXM=
1717
github.com/go-ole/go-ole v1.2.1 h1:2lOsA72HgjxAuMlKpFiCbHTvu44PIVkZ5hqm3RSdI/E=

vendor/github.com/go-critic/go-critic/checkers/dupArg_checker.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/go-critic/go-critic/checkers/regexpPattern_checker.go

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ github.com/davecgh/go-spew/spew
1010
github.com/fatih/color
1111
# github.com/fsnotify/fsnotify v1.4.7
1212
github.com/fsnotify/fsnotify
13-
# github.com/go-critic/go-critic v0.3.5-0.20190526074819-1df300866540
13+
# github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db
1414
github.com/go-critic/go-critic/checkers
1515
github.com/go-critic/go-critic/checkers/internal/lintutil
1616
# github.com/go-lintpack/lintpack v0.5.2
@@ -187,6 +187,8 @@ github.com/stretchr/testify/require
187187
github.com/timakin/bodyclose/passes/bodyclose
188188
# github.com/ultraware/funlen v0.0.1 => github.com/golangci/funlen v0.0.0-20190909161642-5e59b9546114
189189
github.com/ultraware/funlen
190+
# github.com/ultraware/whitespace v0.0.2
191+
github.com/ultraware/whitespace
190192
# github.com/valyala/bytebufferpool v1.0.0
191193
github.com/valyala/bytebufferpool
192194
# github.com/valyala/quicktemplate v1.1.1

0 commit comments

Comments
 (0)