aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
blob: cca0900390f5c78f8526270b02c5bc6a552bf354 (plain) (blame)
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
version: "2"
run:
  tests: true
  timeout: 5m

linters:
  default: none
  enable:
    - staticcheck
    - govet
    - ineffassign
    - unparam
    - misspell
  # If errcheck is enabled, exclude it for test files.
  # But since it's disabled globally, this rule is harmless but potentially unused.
  # The original config had it, so we keep it under the new location.
  exclusions:
    rules:
      - path: .*_test\.go
        linters:
          - errcheck

issues:
  max-issues-per-linter: 0
  max-same-issues: 0