.golangci.yml 585 Bytes
Newer Older
1
run:
2
  deadline: 5m
3

Ben Kochie committed
4 5
linters:
  enable:
6
  - depguard
Ben Kochie committed
7 8
  - golint

9 10 11 12 13 14 15
issues:
  exclude-rules:
  - path: _test.go
    linters:
    - errcheck

linters-settings:
16 17 18 19 20
  depguard:
    list-type: blacklist
    include-go-root: true
    packages:
      - sync/atomic
21
      - github.com/stretchr/testify/assert
22 23
    packages-with-error-message:
      - sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
24
      - github.com/stretchr/testify/assert: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert"
25 26
  errcheck:
    exclude: scripts/errcheck_excludes.txt