semicolon-troll

1.1.0 • Public • Published

semicolon-troll

Inspired by this tweet:

Tweet by Ben Johnson @benbjohnson: "Replace a semicolon (;) with a greek question mark (;) in your friend's JavaScript and watch them pull their hair out over the syntax error."

The install/uninstall scripts were copied wholesale from observing/pre-commit@1.1.2

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.

Package Sidebar

Install

npm i semicolon-troll

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • henrahmagix