mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-12 12:27:09 +02:00
build: exclude generated *_gen.go files from linting
The plugin host *_gen.go files (ndpgen output) were tripping the whitespace linter despite carrying a generated marker. Exclude them by path so make lint and the pre-push hook pass on untouched generated code.
This commit is contained in:
parent
ba2ed28ef7
commit
002ccbf0e4
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ linters:
|
|||
- builtin$
|
||||
- examples$
|
||||
- node_modules
|
||||
- _gen\.go$
|
||||
formatters:
|
||||
exclusions:
|
||||
generated: lax
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue