Don't lint every go file on every commit.

Faster commits, less redundancy
This commit is contained in:
Eli Ribble 2026-05-04 19:40:12 +00:00
parent b53c908b55
commit 18db17fe0b
No known key found for this signature in database

View file

@ -12,9 +12,9 @@ pre-commit:
glob: "*.go"
run: gofmt -w {staged_files}
stage_fixed: true
lint:
golint:
glob: "*.go"
run: golangci-lint run --fix
run: golangci-lint run --fix {staged_files}
stage_fixed: true
prettier:
glob: "*.{html,js,ts,vue,scss}"