File: .golangci.yml

package info (click to toggle)
golang-github-caarlos0-env 11.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 240 kB
  • sloc: makefile: 29
file content (32 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
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
linters-settings:
  gocritic:
    enabled-checks:
      - emptyStringTest
      - evalOrder
      - paramTypeCombine
      - preferStringWriter
      - sprintfQuotedString
      - stringConcatSimplify
      - yodaStyleExpr
  revive:
    rules:
      - name: line-length-limit
        arguments: [120]

issues:
  exclude-rules:
    - path: _test\.go
      linters:
        - revive
      text: "line-length-limit:"

linters:
  enable:
    - thelper
    - gofumpt
    - gocritic
    - tparallel
    - unconvert
    - unparam
    - wastedassign
    - revive