Skip to content

Commit 368c41c

Browse files
authored
build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (#3035)
1 parent b5fee99 commit 368c41c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.golangci.reference.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ linters-settings:
359359

360360
# Section configuration to compare against.
361361
# Section names are case-insensitive and may contain parameters in ().
362-
# The order of sections is always `standard > default > custom > blank > dot`,
363-
# it cannot be changed and doesn't follow the order of `sections` option.
362+
# The default order of sections is `standard > default > custom > blank > dot`,
363+
# If `custom-order` is `true`, it follows the order of `sections` option.
364364
# Default: ["standard", "default"]
365365
sections:
366366
- standard # Standard section: captures all standard packages.
@@ -373,6 +373,11 @@ linters-settings:
373373
# Default: true
374374
skip-generated: false
375375

376+
# Enable custom order of sections.
377+
# If `true`, make the section order the same as the order of `sections`.
378+
# Default: false
379+
custom-order: true
380+
376381
gocognit:
377382
# Minimal code complexity to report
378383
# Default: 30 (but we recommend 10-20)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
github.com/breml/errchkjson v0.3.0
2222
github.com/butuzov/ireturn v0.1.1
2323
github.com/charithe/durationcheck v0.0.9
24-
github.com/daixiang0/gci v0.5.0
24+
github.com/daixiang0/gci v0.6.0
2525
github.com/denis-tingaikin/go-header v0.4.3
2626
github.com/esimonov/ifshort v1.0.4
2727
github.com/fatih/color v1.13.0

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)