mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
* fix: pre-commit fail when path contains space * addressed coderabbitai comment
8 lines
303 B
JavaScript
8 lines
303 B
JavaScript
const quotePath = (file) => `"${file.replace(/"/g, '\\"')}"`;
|
|
|
|
export default {
|
|
"(apps|packages|companion)/**/*.{js,ts,jsx,tsx}": (files) =>
|
|
`biome lint --reporter summary --config-path=biome-staged.json ${files.map(quotePath).join(" ")}`,
|
|
"packages/prisma/schema.prisma": ["prisma format"],
|
|
};
|