Skip to content

Commit 36c96ab

Browse files
committed
review
1 parent eb9e440 commit 36c96ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.golangci.reference.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ linters-settings:
360360
# Section configuration to compare against.
361361
# Section names are case-insensitive and may contain parameters in ().
362362
# The default order of sections is `standard > default > custom > blank > dot`,
363-
# If enable custom-order, it follows the order of `sections` option.
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,9 +373,10 @@ linters-settings:
373373
# Default: true
374374
skip-generated: false
375375

376-
# Enable custom order of sections. If specified, make the section order the same as the order of `sections`.
376+
# Enable custom order of sections.
377+
# If `true`, make the section order the same as the order of `sections`.
377378
# Default: false
378-
custom-order: false
379+
custom-order: true
379380

380381
gocognit:
381382
# Minimal code complexity to report

0 commit comments

Comments
 (0)