Skip to content

Commit

Permalink
chore: add gci config
Browse files Browse the repository at this point in the history
Signed-off-by: ahkui <ahkui@outlook.com>
  • Loading branch information
ahkui committed Jul 12, 2023
1 parent 1c00ee4 commit 4036afa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,17 @@ linters-settings:
# Force newlines in end of case at this limit (0 = never).
force-case-trailing-whitespace: 0

gci:
sections:
- standard
- blank
- prefix(cypt) # this module name
- blank
- default
# If `true`, make the section order the same as the order of `sections`.
# Default: false
custom-order: true

# See https://golangci-lint.run/usage/linters/
linters:
# Disable all linters.
Expand Down

0 comments on commit 4036afa

Please sign in to comment.