mirror of
https://github.com/amir20/dozzle.git
synced 2026-08-07 11:24:44 +00:00
bd4651fb0b
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Push container / Push branches and PRs (push) Has been cancelled
Test / Typecheck (push) Has been cancelled
Test / JavaScript Tests (push) Has been cancelled
Test / Go Tests (push) Has been cancelled
Test / Go Staticcheck (push) Has been cancelled
Test / Integration Tests (push) Has been cancelled
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
import path from "node:path";
|
|
|
|
export default {
|
|
"*.{js,vue,css,ts,html,md}": ["prettier --write"],
|
|
"*.go": (files) => {
|
|
const dirs = [...new Set(files.map((f) => path.dirname(f)))];
|
|
return [`go fix ${dirs.join(" ")}`, `gofmt -w ${files.join(" ")}`];
|
|
},
|
|
};
|