summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/viper/.golangci.yml
blob: a0755ce7e151bcc8c3b01ae1e12c85b4c6cee89c (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
26
27
linters-settings:
    golint:
        min-confidence: 0.1
    goimports:
        local-prefixes: github.com/spf13/viper

linters:
    enable-all: true
    disable:
        - funlen
        - maligned

        # TODO: fix me
        - wsl
        - gochecknoinits
        - gosimple
        - gochecknoglobals
        - errcheck
        - lll
        - godox
        - scopelint
        - gocyclo
        - gocognit
        - gocritic

service:
    golangci-lint-version: 1.21.x