โ Disabling Type and Linting Error Checks
Disabling Commit Checks
We run the pre-commit git hook which lints the staged files and doesn't let you commit if there is an linting error.
To disable this, go to the .husky/pre-commit file and comment out yarn lint-staged --verbose
- yarn lint-staged --verbose
+ # yarn lint-staged --verboseDeploying to Vercel Without Any Checks
By default, Vercel runs type and lint checks before building your app. The deployment will fail if there are any type or lint errors.
To ignore these checks while deploying from the CLI, use:
yarn vercel:yoloIf your repo is connected to Vercel, you can set NEXT_PUBLIC_IGNORE_BUILD_ERROR to true in an environment variable.
Disabling GitHub Workflow
We have a GitHub workflow setup checkout .github/workflows/lint.yaml which runs type and lint error checks every time code is pushed to main branch or pull request is made to main branch.
To disable it, delete .github directory.