Skip to content

Commit 8ac5ee9

Browse files
committed
Update .golangci.ymk
1 parent 70e789b commit 8ac5ee9

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.golangci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ linters-settings:
66
min-complexity: 15
77
goimports:
88
local-prefixes: github.com/golang-templates/seed
9+
govet:
10+
enable-all: true
11+
disable:
12+
- fieldalignment
913
misspell:
1014
locale: US
1115
nolintlint:
@@ -21,20 +25,19 @@ linters:
2125
enable:
2226
- asasalint
2327
- bodyclose
28+
- copyloopvar
2429
- dogsled
2530
- dupl
2631
- dupword
2732
- errcheck
28-
- exportloopref
33+
- errorlint
2934
- funlen
3035
- gocritic
3136
- goconst
3237
- gocyclo
38+
- godot
3339
- gofumpt
3440
- goimports
35-
- revive
36-
- rowserrcheck
37-
- godot
3841
- goprintffuncname
3942
- gosec
4043
- gosimple
@@ -46,15 +49,18 @@ linters:
4649
- noctx
4750
- nolintlint
4851
- perfsprint
52+
- revive
53+
- rowserrcheck
54+
- sqlclosecheck
4955
- staticcheck
5056
- stylecheck
51-
- sqlclosecheck
5257
- typecheck
5358
- unconvert
5459
- unparam
5560
- unused
61+
- usestdlibvars
62+
- usetesting
5663
- whitespace
57-
5864
issues:
5965
exclude:
6066
- EXC0001

0 commit comments

Comments
 (0)