I hereby claim:
- I am soszilla on github.
- I am ejovrh (https://keybase.io/ejovrh) on keybase.
- I have a public key ASDINbRu_6xTMwxsuMlRuUJPlbvlrsOM-3Bge6KBJFpm2wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
FILES_PATTERN='\.(js|py)(\..+)?$' | |
FORBIDDEN='TODO|console.log|print' | |
git diff --cached --name-only | \ | |
grep -E $FILES_PATTERN | \ | |
GREP_COLOR='4;5;37;41' xargs egrep --color --with-filename -n $FORBIDDEN && echo "Found $FORBIDDEN references, commit canceled." && exit 1 | |
echo "pre-commit scan succeeded" | |
exit 0 |
I hereby claim:
To claim this, I am signing this object: