Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 629 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 629 Bytes

Bastardhooks

Bastardhooks is a collection of pre-commit framework hooks to enforce code style preferences of mean, vicious bastards.

Hooks provided include:

  • check_for_rspec_focus: ensures that you don't check in RSpec tests that have focus words (e.g. fscenario)
  • no_coffee: prevents the check-in of CoffeeScript code based on a slightly irrational dislike of the language
  • no_stupid_php: checks to see if the user has attempted to use any particularly idiotic things in PHP (like magic_quotes)