Overcommit v0.9.0 Release Notes
-
- Include
--force-exclusion
flag in Rubocop hook so files excluded via.rubocop.yml
are actually excluded - โ Add pre-commit
JsxHint
hook which uses the JSXHint project - โ Add pre-commit
BerksfileCheck
hook which warns you when yourBerksfile.lock
is out of sync with yourBerksfile
- ๐ Fix
BundleCheck
to usegit ls-files
instead ofgit check-ignore
, as the latter is only available as of git 1.8 - ๐ Fix bug where skipping a hook via the
SKIP
environment variable would incorrectly warn about the hook's configuration having changed - โ Add
MergeConflicts
pre-commit hook which checks for unresolved merge conflicts in files - โ Add
RailsSchemaUpToDate
pre-commit hook which checks forschema.rb
/structure.sql
that aren't up-to-date with the latest migration - โ Add
PryBinding
pre-commit hook which checks forbinding.pry
calls that have been left behind in code - โ Add
LocalPathsInGemfile
pre-commit hook which checks for gem dependencies pointing to local paths in aGemfile
- โ Add
JsonSyntax
pre-commit hook which checks the syntax of all.json
files - โ Add
Brakeman
pre-commit hook which runs security checks against code (disabled by default as it is slow) - โ Add
ChamberSecurity
pre-commit hook which ensures thatchamber secure
has been run before committing your changes (see the Chamber gem for more information)
- Include