const skipWarnings = ["1", "true", "yes", "on"].includes((process.env.SKIP_WARNINGS ?? "").toLowerCase()); export default { "(apps|packages|companion)/**/*.{js,ts,jsx,tsx}": (files) => skipWarnings ? `biome lint --write ${files.join(" ")}` : `biome lint --write --error-on-warnings ${files.join(" ")}`, "*.json": (files) => `biome format --write ${files.join(" ")}`, "packages/prisma/schema.prisma": ["prisma format"], };