mirror of
https://github.com/go-shiori/shiori.git
synced 2024-12-27 10:14:13 +08:00
31 lines
529 B
YAML
31 lines
529 B
YAML
# Docs: https://golangci-lint.run/usage/configuration/#config-file
|
|
|
|
run:
|
|
timeout: 5m
|
|
|
|
issues:
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|
|
exclude-dirs:
|
|
- internal/mocks
|
|
|
|
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
govet:
|
|
enable-all: true
|
|
disable:
|
|
- fieldalignment
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofmt
|
|
- gosimple
|
|
# - govet # Re-enable when all shadow declarations are fixed
|
|
- ineffassign
|
|
- predeclared
|
|
- exportloopref
|
|
- staticcheck
|
|
- unconvert
|
|
- unused
|