* add optional skip warnings * remove test changes * allow underscore variables pattern being ignored by eslint (#24103)
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
export default {
|
|
"(apps|packages)/**/*.{js,ts,jsx,tsx}": [
|
|
"prettier --write",
|
|
process.env.SKIP_WARNINGS === "1" ? "eslint --fix" : "eslint --fix --max-warnings=0",
|
|
],
|
|
"*.json": ["prettier --write"],
|
|
"packages/prisma/schema.prisma": ["prisma format"],
|
|
};
|