Overcommit v0.6.0 Release Notes
-
- 💥 Breaking changes: plugin framework has been overhauled.
You must now subclass
Overcommit::Hook::<Type>
and implement the methodrun
instead ofrun_check
. Also, the old hook runner no longer works, so you'll need to remove the hooks installed in.git/hooks
and install new ones withovercommit --install
- 🔧 Configuration for repository can be specified via
.overcommit.yml
file - Can now skip hooks using just
SKIP
instead ofSKIP_CHECKS
environment variable - ➕ Add
--template-dir
flag which provides a convenient way to auto-install overcommit via Git template directories - 💎 Converted all script-based hook scripts to Ruby-based ones
AuthorEmail
check can be customized so emails match a regexWhitespace
check was split intoHardTabs
andTrailingWhitespace
- ➕ Add pre-commit JavaScript style checking with JSCS
- ➕ Add
BundleCheck
pre-commit hook which checks ifGemfile.lock
matchesGemfile
- 💥 Breaking changes: plugin framework has been overhauled.
You must now subclass