mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-01-10 01:02:11 +08:00
44 lines
628 B
YAML
44 lines
628 B
YAML
|
run:
|
||
|
timeout: 1m
|
||
|
|
||
|
linters:
|
||
|
enable:
|
||
|
- asciicheck
|
||
|
- bodyclose
|
||
|
- deadcode
|
||
|
- depguard
|
||
|
- dogsled
|
||
|
- durationcheck
|
||
|
- errcheck
|
||
|
- errorlint
|
||
|
- exportloopref
|
||
|
- gci
|
||
|
- gofmt
|
||
|
- gofumpt
|
||
|
- goimports
|
||
|
- gosec
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- importas
|
||
|
- ineffassign
|
||
|
- megacheck
|
||
|
- misspell
|
||
|
- nakedret
|
||
|
- nolintlint
|
||
|
- revive
|
||
|
- staticcheck
|
||
|
- structcheck
|
||
|
- typecheck
|
||
|
- unconvert
|
||
|
- unparam
|
||
|
- unused
|
||
|
- varcheck
|
||
|
- wastedassign
|
||
|
linters-settings:
|
||
|
gosec:
|
||
|
# Exclude generated files
|
||
|
exclude-generated: true
|
||
|
gofmt:
|
||
|
# simplify code: gofmt with `-s` option, true by default
|
||
|
simplify: true
|