Skip to content

Commit 0a474a2

Browse files
authored
Update ifshort to v1.0.1 (#1671)
1 parent 839dd74 commit 0a474a2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.golangci.example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ linters-settings:
298298
# specify an error message to output when a blacklisted package is used
299299
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
300300
ifshort:
301-
# Maximum length of variable declaration measured in number of lines, after which linter won't suggest using short syntax.
301+
# Maximum length of variable declaration measured in number of lines, after which linter won't suggest using short syntax.
302302
# Has higher priority than max-decl-chars.
303303
max-decl-lines: 1
304304
# Maximum length of variable declaration measured in number of characters, after which linter won't suggest using short syntax.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/bombsimon/wsl/v3 v3.1.0
1212
github.com/daixiang0/gci v0.2.8
1313
github.com/denis-tingajkin/go-header v0.4.2
14-
github.com/esimonov/ifshort v1.0.0
14+
github.com/esimonov/ifshort v1.0.1
1515
github.com/fatih/color v1.10.0
1616
github.com/go-critic/go-critic v0.5.3
1717
github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b

go.sum

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

0 commit comments

Comments
 (0)