Skip to content

Instantly share code, notes, and snippets.

@raymelon
Last active January 23, 2024 10:08
Show Gist options
  • Save raymelon/cde4726a1d32a00717b350cd089ed274 to your computer and use it in GitHub Desktop.
Save raymelon/cde4726a1d32a00717b350cd089ed274 to your computer and use it in GitHub Desktop.
disable verification scripts on git commit (like lint-staged and husky)
git commit -m "commit message" --no-verify
# use --no-verify flag
#
# lint-staged: https://github.com/lint-staged/lint-staged
# husky: https://github.com/typicode/husky
#
# example of lint-staged on package.json:
#
# {
# "name": "",
# ...
# "lint-staged": {
# "*.{ts,tsx,js,vue}": [
# "eslint --fix",
# "prettier --write"
# ]
# }
# }
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment