chore: improve biome checking (#27140)
This commit is contained in:
+1
-1
@@ -3,5 +3,5 @@ if [ -f .git/MERGE_HEAD ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
yarn lint-staged
|
yarn lint-staged --verbose
|
||||||
yarn app-store:build && git add packages/app-store/*.generated.*
|
yarn app-store:build && git add packages/app-store/*.generated.*
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
"(apps|packages|companion)/**/*.{js,ts,jsx,tsx}": (files) =>
|
"(apps|packages|companion)/**/*.{js,ts,jsx,tsx}": (files) =>
|
||||||
`biome lint --config-path=biome-staged.json ${files.join(" ")}`,
|
`biome lint --reporter summary --config-path=biome-staged.json ${files.join(" ")}`,
|
||||||
"packages/prisma/schema.prisma": ["prisma format"],
|
"packages/prisma/schema.prisma": ["prisma format"],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user