.golangci.yaml 445 Bytes
Newer Older
Michael Yang's avatar
Michael Yang committed
1
2
3
4
5
6
7
8
9
10
11
run:
  timeout: 5m
linters:
  enable:
    - asasalint
    - bidichk
    - bodyclose
    - containedctx
    - contextcheck
    - exportloopref
    - gocheckcompilerdirectives
12
13
14
    # FIXME: for some reason this errors on windows
    # - gofmt
    # - goimports
Michael Yang's avatar
lint  
Michael Yang committed
15
    - intrange
Michael Yang's avatar
Michael Yang committed
16
17
    - misspell
    - nilerr
Michael Yang's avatar
Michael Yang committed
18
19
    - nolintlint
    - nosprintfhostport
Michael Yang's avatar
lint  
Michael Yang committed
20
21
    - testifylint
    - unconvert
Michael Yang's avatar
Michael Yang committed
22
    - unused
Michael Yang's avatar
lint  
Michael Yang committed
23
24
25
    - usestdlibvars
    - wastedassign
    - whitespace