Skip to content

Commit

Permalink
enable fieldalignment in golangci
Browse files Browse the repository at this point in the history
  • Loading branch information
JianyiGao committed Oct 24, 2023
1 parent ee74a62 commit d305a5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ linters:
- gci
- revive
- bodyclose
- govet
linters-settings:
gci:
sections:
Expand All @@ -20,3 +21,7 @@ linters-settings:
- default
skip-generated: true
custom-order: true
govet:
disable-all: true
enable:
- fieldalignment

0 comments on commit d305a5c

Please sign in to comment.