30 lines
575 B
YAML
30 lines
575 B
YAML
linters:
|
|
enable-all: true
|
|
disable:
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- errcheck
|
|
- text: "weak cryptographic primitive"
|
|
linters:
|
|
- gosec
|
|
- path: model/model\.go
|
|
linters:
|
|
- lll
|
|
- path: server/handler/
|
|
source: "next http.HandlerFunc"
|
|
linters:
|
|
- interfacer
|
|
- path: server/handler/
|
|
source: "session.Save"
|
|
linters:
|
|
- errcheck
|
|
- path: server/handler/
|
|
source: "w.Write"
|
|
linters:
|
|
- errcheck
|