Overcommit v0.23.0 Release Notes
-
๐ New Features
- โ Add pre-commit ESLint hook
- โ Add pre-commit hooks for standard and semistandard JavaScript linters
- โ Add support for
post-commit
,post-merge
, andpost-rewrite
hooks - โ Add
GitGuilt
post-commit
hook to display changes in blame ownership for modified files - Add
execute_in_background
helper to provide a standardized way to start long-running processes without blocking the hook run - โ Add
IndexTags
hook forpost-commit
,post-merge
, andpost-rewrite
hook types so tags index can always be kept up to date viactags
- โ Add
W3cCss
andW3cHtml
pre-commit hooks which integrate with thew3c_validator
gem - โ Add
Scalastyle
pre-commit hook that runs scalastyle against Scala code - โ Add
XmlLint
pre-commit hook to check XML files with xmllint - โ Add
JavaCheckstyle
pre-commit hook to check style of Java files with checkstyle - โ Add
Pep8
pre-commit hook to check Python files with pep8 - โ Add
Pyflakes
pre-commit hook to check Python files with pyflakes - โ Add
Pep257
pre-commit hook to check Python files with pep257 - โ Add
HtmlTidy
pre-commit hook to check HTML files with tidy - โ Add
Pylint
pre-commit hook to check Python files with pylint
๐ Changes
- ๐ Parse JSHint errors more precisely
- โ Remove
JsxHint
andJsxcs
pre-commit hooks in favor of using therequired_executable
option on the JsHint and Jscs pre-commit hooks - ๐ Change behavior of configuration options containing array values to always replace the old value instead of appending to it
- ๐ Change
ImageOptim
hook to fail instead of warn if theimage_optim
gem cannot be found - โ Remove
ctags_arguments
option fromIndexTags
hooks - ๐ Improve
PythonFlake8
pre-commit hook to differentiate between errors and warnings - ๐ Improve
CssLint
pre-commit hook to differentiate between errors and warnings
๐ Bug Fixes
- ๐ Fix
--run
flag to consider all lines in all files as modified rather than none - ๐ Fix
--run
flag to exclude submodule directories from the list of modified files - ๐ Fix handling of files with spaces in their name when calculating modified lines in a file