git-module

git clone git://git.lin.moe/fork/git-module.git

 1version: "2"
 2linters:
 3  enable:
 4    - nakedret
 5    - rowserrcheck
 6    - unconvert
 7    - unparam
 8  settings:
 9    govet:
10      disable:
11        # printf: non-constant format string in call to fmt.Errorf (govet)
12        # showing up since golangci-lint version 1.60.1
13        - printf
14    staticcheck:
15      checks:
16        - all
17        - "-QF1001" # I'm a math noob
18        - "-ST1016" # Some legit code uses this pattern
19    nakedret:
20      max-func-lines: 0 # Disallow any unnamed return statement
21  exclusions:
22    generated: lax
23    presets:
24      - comments
25      - common-false-positives
26      - legacy
27      - std-error-handling
28    paths:
29      - third_party$
30      - builtin$
31      - examples$
32formatters:
33  enable:
34    - gofmt
35    - goimports
36  exclusions:
37    generated: lax
38    paths:
39      - third_party$
40      - builtin$
41      - examples$