Tags: ByteDecoder/overcommit
Tags
0.42.0 New Features * Add `YarnInstall` post-checkout, post-commit, post-merge, and post-rewrite hooks * Add [`metadata-json-lint`](https://voxpupuli.org/blog/2014/11/06/linting-metadata-json/) pre-commit hook * Add [`RstLint`](https://github.com/twolfson/restructuredtext-lint) pre-commit hook * Add `YarnInstall` post-checkout, post-commit, post-merge, and post-rewrite hooks * Add additional file patterns for `ChamberSecurity` pre-commit hook * Add `ChamberCompare` and `ChamberVerification` pre-commit hooks * Add `ComposerInstall` post-checkout, post-commit, post-merge, and post-rewrite hooks * Add ability to `pre-push` hooks to inspect modified files for pushed refs * Add [`PhpStan`](https://github.com/phpstan/phpstan) pre-commit hook Changes * Run `GoLint` pre-commit hook against each file individually * Improve performance of `BundleAudit` checking of `Gemfile.lock` file * Allow ad hoc hooks to run executables not tracked by Git * Drop support for Ruby 2.0 Bug Fixes * Fix `LineEndings` pre-commit hook handling of file paths with spaces * Fix `Mdl` pre-commit hook message parsing regex * Fix `RailsBestPractices` hook to only run against changed files * Fix Overcommit installation in submodules * Don't print backtrace of signature change for `overcommit --run`
0.41.0 * Add [`PhpCs`](http://pear.php.net/package/PHP_CodeSniffer) pre-commit hook * Add [`PhpLint`](http://php.net/manual/en/features.commandline.options.php) pre-commit hook * Allow toggling colorize output via `OVERCOMMIT_COLOR` environment variable
0.40.0 * Add [`Pronto`](https://github.com/mmozuras/pronto) pre-commit hook * Add [`hadolint`](https://github.com/lukasmartinelli/hadolint) pre-commit hook * Add [`license_finder`](https://github.com/pivotal/LicenseFinder) pre-commit hook * Use the `core.hooksPath` Git configuration option when installing hooks * Gracefully handle binary files in `LineEndings` pre-commit hook * Relax `childprocess` dependency to allow 0.x * Gracefully handle gem loading errors when invoking Overcommit in a repo where the `gemfile` specified by the local `.overcommit.yml` references a gem version incompatible with the already-loaded Overcommit * Ignore `Makefile` and `*.go` files in `HardTabs` pre-commit hook by default
0.39.0 New Features * Add [`GitLfs`](https://git-lfs.github.com/) pre-push hook Changes * Update `childprocess` dependency to 0.6.x series * Auto-sign configuration file when installing hooks for the first time Bug Fixes * Fix `forwarding to private method` warning on Ruby 2.4.x * Fix potential hang when a hook's `parallelize` option was set to `false` * Fix `empty strings as pathspecs` warning introduced in Git 2.11
0.37.0 New Features * Add `FixMe` pre-commit hook, to ensure that no "token" words slips through. These strings are things you should fix now, not later * Add [`YAMLLint`](https://github.com/adrienverge/yamllint) pre-commit hook * Add `LicenseHeader` pre-commit enforcement to ensure open source projects contain proper license comments * Add [`Foodcritic`](http://www.foodcritic.io/) pre-commit hook * Add `LineEndings` pre-commit hook that allows you to enforcing UNIX- or Windows-style line endings Bug Fixes * Fix `CapitalizedSubject` to not fail when commit message starts with one or more empty lines
0.36.0 * Add [`Fasterer`](https://github.com/DamirSvrtan/fasterer) pre-commit hook * Add [`Brakeman`](http://brakemanscanner.org/) pre-push hook * Validate that hook `env` environment configurations have valid names/values
0.35.0 * Drop support for Ruby 1.9.3 * Fix `JavaCheckstyle` pre-commit hook to properly categorize `INFO` and `WARN` messages * Add `TestUnit` pre-push hook to run tests with `Test::Unit` * Add `BundleAudit` pre-commit hook to scan gems for vulnerabilities with [`bundle-audit`](https://github.com/rubysec/bundler-audit) * Copy hook files instead of symlinking * Add `Credo` pre-commit hook to check Elixir files * Remove `Brakeman` pre-commit hook as it could erroneously report clean runs depending on which files were committed to your repository. You should run this tool in a separate job/task in your CI runs as it doesn't make for a good pre-commit hook. * Add `Commitplease` pre-commit hook which checks commit messages with [`commitplease`](https://www.npmjs.com/package/commitplease)
PreviousNext