Skip to content

Commit 916e32e

Browse files
authored
chore: add support for tagalign linter (#2731)
1 parent 10d2f2a commit 916e32e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ linters:
6262
- sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed. [fast: false, auto-fix: false]
6363
- staticcheck #(megacheck): Staticcheck is a go vet on steroids, applying a ton of static analysis checks [fast: false, auto-fix: false]
6464
- stylecheck # Stylecheck is a replacement for golint [fast: false, auto-fix: false]
65+
- tagalign # check that struct tags are well aligned [fast: true, auto-fix: true]
6566
- tagliatelle # Checks the struct tags. [fast: true, auto-fix: false]
6667
- tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
6768
- testifylint # Checks usage of github.com/stretchr/testify. [fast: false, auto-fix: false]

0 commit comments

Comments
 (0)