mirror of
https://github.com/navidrome/navidrome.git
synced 2026-04-26 10:30:46 +00:00
* fix(ui): regenerate package-lock.json to have integrity fields * chore(deps): update esbuild and related packages to version 0.27.7 Signed-off-by: Deluan <deluan@navidrome.org> * chore(lint): exclude node_modules from golangci-lint Prevents lint errors from Go files inside npm packages under ui/node_modules from being picked up by golangci-lint. --------- Signed-off-by: Deluan <deluan@navidrome.org> Co-authored-by: Deluan Quintão <deluan@navidrome.org>
66 lines
1.1 KiB
YAML
66 lines
1.1 KiB
YAML
version: "2"
|
|
run:
|
|
build-tags:
|
|
- netgo
|
|
- sqlite_fts5
|
|
linters:
|
|
enable:
|
|
- asasalint
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- copyloopvar
|
|
- dogsled
|
|
- durationcheck
|
|
- errorlint
|
|
- gocritic
|
|
- gocyclo
|
|
- goprintffuncname
|
|
- gosec
|
|
- misspell
|
|
- nakedret
|
|
- nilerr
|
|
- rowserrcheck
|
|
- unconvert
|
|
- whitespace
|
|
disable:
|
|
- staticcheck
|
|
settings:
|
|
gocritic:
|
|
disable-all: true
|
|
enabled-checks:
|
|
- deprecatedComment
|
|
gosec:
|
|
excludes:
|
|
- G501
|
|
- G401
|
|
- G505
|
|
- G115
|
|
govet:
|
|
enable:
|
|
- nilness
|
|
exclusions:
|
|
rules:
|
|
- linters:
|
|
- gosec
|
|
path: _test\.go
|
|
text: "G703"
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
- node_modules
|
|
formatters:
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
- node_modules
|