Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 1, 2022
1 parent eb9e440 commit 36c96ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .golangci.reference.yml
Expand Up @@ -360,7 +360,7 @@ linters-settings:
# Section configuration to compare against.
# Section names are case-insensitive and may contain parameters in ().
# The default order of sections is `standard > default > custom > blank > dot`,
# If enable custom-order, it follows the order of `sections` option.
# If `custom-order` is `true`, it follows the order of `sections` option.
# Default: ["standard", "default"]
sections:
- standard # Standard section: captures all standard packages.
Expand All @@ -373,9 +373,10 @@ linters-settings:
# Default: true
skip-generated: false

# Enable custom order of sections. If specified, make the section order the same as the order of `sections`.
# Enable custom order of sections.
# If `true`, make the section order the same as the order of `sections`.
# Default: false
custom-order: false
custom-order: true

gocognit:
# Minimal code complexity to report
Expand Down

0 comments on commit 36c96ab

Please sign in to comment.