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:
Deluan committed 2026-06-19 16:58:18 -04:00
1 parent ba2ed28ef7
commit 002ccbf0e4
1 file changed
+1
+1
View File
@@ -68,6 +68,7 @@ linters:
- builtin$
- examples$
- node_modules
- _gen\.go$
formatters:
exclusions:
generated: lax