chore: Optional skip warnings for lint-staged (#24102)
* add optional skip warnings * remove test changes * allow underscore variables pattern being ignored by eslint (#24103)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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"],
|
||||
};
|
||||
Reference in New Issue
Block a user