Skip to content

Overcommit 0.25.0

Choose a tag to compare

@sds sds released this 02 May 23:42
· 801 commits to main since this release

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 Vint pre-commit hook that checks Vim script with
    Vint
  • Add Scalariform pre-commit hook that checks formatting of Scala code with
    Scalariform
  • Add SlimLint pre-commit hook that analyzes Slim templates with
    Slim-Lint

Changes

  • Include SVG files in ImageOptim, XmlLint, and XmlSyntax pre-commit
    hooks by default
  • Make IndexTags hooks quiet by default
  • Rename Rubocop pre-commit hook to RuboCop to match the project's proper
    name

Bug Fixes

  • Fix HardTabs and TrailingWhitespace pre-commit hooks to include
    line information in errors, making it work as expected when
    problem_on_unmodified_line is set to something other than report
  • 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, and TrailingPeriod commit-msg hooks