Skip to content

Commit 025c751

Browse files
authored
Update .golangci.yml (golang-templates#222)
1 parent 8fd87b8 commit 025c751

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
linters-settings:
2+
funlen:
3+
lines: 100
4+
statements: 50
25
gocyclo:
36
min-complexity: 15
47
goimports:
@@ -18,7 +21,9 @@ linters-settings:
1821
linters:
1922
disable-all: true
2023
enable:
24+
- bodyclose
2125
- dogsled
26+
- dupl
2227
- errcheck
2328
- exportloopref
2429
- funlen
@@ -36,6 +41,8 @@ linters:
3641
- govet
3742
- ineffassign
3843
- misspell
44+
- nakedret
45+
- noctx
3946
- nolintlint
4047
- staticcheck
4148
- stylecheck

0 commit comments

Comments
 (0)