mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Improves golangci-lint configuration and workflow (#3004)
* chore: the default Go version is based on the go.mod * chore: use linter configuration instead of exclude-rules * chore: update workflow
This commit is contained in:
parent
2470471b2b
commit
4d29184998
2 changed files with 9 additions and 11 deletions
|
@ -1,6 +1,3 @@
|
|||
run:
|
||||
go: "1.20"
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- asasalint
|
||||
|
@ -28,8 +25,9 @@ linters:
|
|||
- unused
|
||||
- whitespace
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- linters:
|
||||
- gosec
|
||||
text: "(G501|G401|G505):"
|
||||
linters-settings:
|
||||
gosec:
|
||||
excludes:
|
||||
- G501
|
||||
- G401
|
||||
- G505
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue