feat: skip validation

This commit is contained in:
nafees nazik
2024-01-12 08:10:57 +05:30
parent a550fcaee6
commit 0ea11e52ef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged
SKIP_ENV_VALIDATION=true npx lint-staged
+1 -1
View File
@@ -3,7 +3,7 @@
const path = require("path");
const buildEslintCommand = (filenames) =>
`SKIP_ENV_VALIDATION=true next lint --fix --file ${filenames
`next lint --fix --file ${filenames
.map((f) => path.relative(process.cwd(), f))
.join(" --file ")}`;