Skip to content

Commit 3e1d8ba

Browse files
committed
Add lint config
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 56512be commit 3e1d8ba

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.golangci.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
linters-settings:
2+
lll:
3+
line-length: 120
4+
wsl:
5+
allow-cuddle-declarations: true
6+
7+
linters:
8+
enable-all: true
9+
disable:
10+
- nlreturn
11+
- exhaustivestruct
12+
- exhaustruct
13+
- cyclop
14+
- gochecknoglobals
15+
- gomoddirectives
16+
- exhaustive
17+
- funlen
18+
- gofumpt
19+
- godox # We ought to enable this at some point

0 commit comments

Comments
 (0)