semicolon-troll
v1.1.0
Published
Write syntax errors into staged JavaScript files before committing them.
Downloads
3
Readme
semicolon-troll
Inspired by this tweet:
The install/uninstall scripts were copied wholesale from observing/[email protected]
Usage
npm install semicolon-troll
- That's it!
When enough is enough
npm uninstall semicolon-troll
will remove the pre-commit hook.
What does it do
- Installs a Git pre-commit hook that will replace all semicolons in staged JavaScript files with greek question marks.
- Stages those changes for committing.