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

+7-2
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

+1-1
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

+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)