Files
mostlymatter/.golangci.yml
2021-08-10 07:15:03 +02:00

51 строка
933 B
YAML

run:
timeout: 5m
modules-download-mode: vendor
skip-dirs:
- store/storetest/mocks
linters-settings:
gofmt:
simplify: true
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
linters:
disable-all: true
enable:
- deadcode
- gofmt
- golint
- gosimple
- govet
- ineffassign
- exportloopref
- structcheck
- staticcheck
- unconvert
- unused
- varcheck
- misspell
- goimports
# TODO: enable this later
# - errcheck
issues:
exclude-rules:
- linters:
# ignore unused warnings from enterprise code
# add more as required.
- unused
text: "SetupEnterprise"
- linters:
- golint
text: "should have|should be|should replace|stutters|underscore|annoying|error strings should not be capitalized"
- linters:
- misspell
path: "shared/markdown/html_entities.go"