Skip to content

Commit 987f135

Browse files
committed
update linter version
1 parent c0d7d69 commit 987f135

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ require (
155155
github.com/quasilyte/gogrep v0.0.0-20220120141003-628d8b3623b5 // indirect
156156
github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95 // indirect
157157
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
158-
github.com/sivchari/nosnakecase v1.0.0
158+
github.com/sivchari/nosnakecase v1.0.1
159159
github.com/spf13/afero v1.8.2 // indirect
160160
github.com/spf13/cast v1.4.1 // indirect
161161
github.com/spf13/jwalterweatherman v1.1.0 // indirect

go.sum

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/testdata/nosnakecase.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func b(a_a int) { // ERROR "a_a is used under score. You should use mixedCap or
99

1010
func c() (c_c int) { // ERROR "c_c is used under score. You should use mixedCap or MixedCap."
1111
c_c = 1 // ERROR "c_c is used under score. You should use mixedCap or MixedCap."
12-
return c_c // ERROR "c_c is used under score. You should use mixedCap or MixedCap."
12+
return c_c // It's never detected, because `c_c` is already detected.
1313
}
1414

1515
func d() {

0 commit comments

Comments
 (0)