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, and post-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 for post-commit, post-merge, and post-rewrite hook types so tags index can always be kept up to date via ctags
    • โž• Add W3cCss and W3cHtml pre-commit hooks which integrate with the w3c_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 and Jsxcs pre-commit hooks in favor of using the required_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 the image_optim gem cannot be found
    • โœ‚ Remove ctags_arguments option from IndexTags 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