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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

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

0 commit comments

Comments
 (0)