.golangci.yaml 510 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
Michael Yang committed
15
16
    # TODO: disable for now
    # - intrange
Michael Yang's avatar
Michael Yang committed
17
18
    - misspell
    - nilerr
Michael Yang's avatar
Michael Yang committed
19
20
    - nolintlint
    - nosprintfhostport
Michael Yang's avatar
lint  
Michael Yang committed
21
22
    - testifylint
    - unconvert
Michael Yang's avatar
Michael Yang committed
23
    - unused
Michael Yang's avatar
Michael Yang committed
24
25
    # TODO: bmizerany says no :(
    # - usestdlibvars
Michael Yang's avatar
lint  
Michael Yang committed
26
27
    - wastedassign
    - whitespace