.golangci.yaml 549 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
Michael Yang's avatar
Michael Yang committed
12
13
14
    - gofmt
    - goimports
    - intrange
Michael Yang's avatar
Michael Yang committed
15
16
    - misspell
    - nilerr
Michael Yang's avatar
Michael Yang committed
17
18
    - nolintlint
    - nosprintfhostport
Michael Yang's avatar
lint  
Michael Yang committed
19
20
    - testifylint
    - unconvert
Michael Yang's avatar
Michael Yang committed
21
    - unused
Michael Yang's avatar
lint  
Michael Yang committed
22
23
    - wastedassign
    - whitespace
Michael Yang's avatar
Michael Yang committed
24
25
26
27
28
29
30
31
32
33
    - usestdlibvars
severity:
  default-severity: error
  rules:
    - linters:
        - gofmt
        - goimports
        - intrange
        - usestdlibvars
      severity: info