Repository navigation
Overcommit 0.25.0
A relatively small release with a few new hooks and some bug fixes.
One major breaking change to note that will likely affect a large number of users is the renaming of the Rubocop hook to RuboCop, matching the capitalization of the project itself in order to reduce confusion.
New Features
- Add
Vintpre-commit hook that checks Vim script with
Vint - Add
Scalariformpre-commit hook that checks formatting of Scala code with
Scalariform - Add
SlimLintpre-commit hook that analyzes Slim templates with
Slim-Lint
Changes
- Include SVG files in
ImageOptim,XmlLint, andXmlSyntaxpre-commit
hooks by default - Make
IndexTagshooks quiet by default - Rename
Rubocoppre-commit hook toRuboCopto match the project's proper
name
Bug Fixes
- Fix
HardTabsandTrailingWhitespacepre-commit hooks to include
line information in errors, making it work as expected when
problem_on_unmodified_lineis set to something other thanreport - Fix handling of changing a symlink to a directory on commit amendment so it
is not included in the list of modified files for pre-commit hooks - Handle empty commit messages in
CapitalizedSubject,SingleLineSubject,
HardTabs,TextWidth, andTrailingPeriodcommit-msg hooks