mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-01 19:47:37 +03:00
* build(netgo): make sure the project is always compiled with `netgo` build tag * docs(netgo): better comments
41 lines
696 B
YAML
41 lines
696 B
YAML
run:
|
|
build-tags:
|
|
- netgo
|
|
|
|
linters:
|
|
enable:
|
|
- asasalint
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- copyloopvar
|
|
- dogsled
|
|
- durationcheck
|
|
- errcheck
|
|
- errorlint
|
|
- gocyclo
|
|
- goprintffuncname
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- nilerr
|
|
- rowserrcheck
|
|
- staticcheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- whitespace
|
|
|
|
linters-settings:
|
|
govet:
|
|
enable:
|
|
- nilness
|
|
gosec:
|
|
excludes:
|
|
- G501
|
|
- G401
|
|
- G505
|
|
- G115 # Can't check context, where the warning is clearly a false positive. See discussion in https://github.com/securego/gosec/pull/1149
|