3
File size: 600 Bytes
e7fb46f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
run:
  timeout: 5m
linters:
  enable:
    - asasalint
    - bidichk
    - bodyclose
    - containedctx
    - contextcheck
    - exportloopref
    - gocheckcompilerdirectives
    # conditionally enable this on linux/macos
    # - gofmt
    # - goimports
    - intrange
    - misspell
    - nilerr
    - nolintlint
    - nosprintfhostport
    - testifylint
    - unconvert
    - unused
    - wastedassign
    - whitespace
    - usestdlibvars
severity:
  default-severity: error
  rules:
    - linters:
        - gofmt
        - goimports
        - intrange
        - usestdlibvars
      severity: info