mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-06 21:14:47 +08:00
43 lines
718 B
YAML
43 lines
718 B
YAML
version: "2"
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- copyloopvar
|
|
- ineffassign
|
|
- predeclared
|
|
- staticcheck
|
|
- unconvert
|
|
- unused
|
|
settings:
|
|
govet:
|
|
disable:
|
|
- fieldalignment
|
|
enable-all: true
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- internal/mocks
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
issues:
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
settings:
|
|
gofmt:
|
|
simplify: true
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- internal/mocks
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|