lint stage not loading config from file - using root instead (#24671)

This commit is contained in:
Volnei Munhoz
2025-10-25 10:51:18 +00:00
committed by GitHub
parent 57776b829b
commit 05c399db9c
+4 -4
View File
@@ -1,8 +1,8 @@
export default {
"(apps|packages)/**/*.{js,ts,jsx,tsx}": [
"prettier --write",
process.env.SKIP_WARNINGS === "1" ? "eslint --fix" : "eslint --fix --max-warnings=0",
],
"(apps|packages)/**/*.{js,ts,jsx,tsx}": (files) =>
process.env.SKIP_WARNINGS === "1"
? `eslint --fix --flag v10_config_lookup_from_file ${files.join(" ")}`
: `eslint --fix --flag v10_config_lookup_from_file --max-warnings=0 ${files.join(" ")}`,
"*.json": ["prettier --write"],
"packages/prisma/schema.prisma": ["prisma format"],
};