aboutsummaryrefslogtreecommitdiff
path: root/golangci.yml
blob: 25b47fd54de1addbcb04a64dd6eaf8a9d4305cf1 (plain)
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
36
37
38
output:
  sort-results: true

linters:
  enable:
    - revive
    - whitespace
    - unconvert
    - promlinter
    - nilerr
    - gofmt
    - unparam
    - gci
    - bodyclose
    - makezero

linters-settings:
  gci:
    sections:
      - standard
      - default
      - prefix(git.sr.ht/~gabrielgio/img)
    skip-generated: true
    custom-order: true
  errcheck:
    ignore: Close
  revive:
    rules:
      - name: unused-parameter
        severity: error
        disabled: false
      - name: package-comments
        disabled: true

issues:
  exclude-use-default: false

  timeout: 2m