Skip to content

Instantly share code, notes, and snippets.

@memes
Last active September 7, 2021 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save memes/42f82959d980813c44feeab30a7661f9 to your computer and use it in GitHub Desktop.
Save memes/42f82959d980813c44feeab30a7661f9 to your computer and use it in GitHub Desktop.
- id: talisman-commit
name: talisman
entry: talisman --githook pre-commit
stages: [commit]
# talisman currently discovers files by itself and does not take them on the cli
pass_filenames: false
types: [text]
language: system
- id: talisman-push
name: talisman
entry: talisman --githook pre-push
stages: [push]
# talisman currently discovers files by itself and does not take them on the cli
pass_filenames: false
types: [text]
language: system

pre-commit hook for Talisman

This hook allows pre-commit to use an existing talisman binary that has been added to the path without compiling from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment