mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-11-10 09:12:29 +08:00
a50639af23
* chore(deps): update module github.com/caarlos0/env/v10 to v11 * update code --------- Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
37 lines
607 B
YAML
37 lines
607 B
YAML
run:
|
|
timeout: 5m
|
|
|
|
linters:
|
|
enable:
|
|
- asciicheck
|
|
- bodyclose
|
|
- dogsled
|
|
- durationcheck
|
|
- errcheck
|
|
- errorlint
|
|
- gci
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- importas
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- nolintlint
|
|
- staticcheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
linters-settings:
|
|
gosec:
|
|
# Exclude generated files
|
|
exclude-generated: true
|
|
excludes:
|
|
- G601 # not applicable in go 1.22 anymore
|
|
gofmt:
|
|
# simplify code: gofmt with `-s` option, true by default
|
|
simplify: true
|
|
|