README.md in pre-commit-0.13.0 vs README.md in pre-commit-0.14.0

- old
+ new

@@ -40,25 +40,26 @@ * migrations (Will make sure you check in the proper files after creating a Rails migration) * ci (Will run the `pre_commit:ci` rake task and pass or fail accordingly) * rubocop (Check ruby code style using the rubocop gem. Rubocop must be installed) * before_all (Check your RSpec tests for the use of `before(:all)`) * coffeelint (Check your coffeescript files using the [coffeelint gem.](https://github.com/clutchski/coffeelint)) +* go (Runs go fmt on a go source file and fail if formatting is incorrect, then runs go build and fails if can't compile) ## Default checks Use `pre-commit list` to see the list of default and enabled checks and warnings. ## Enabling / Disabling Checks / Warnings -### 0.12.0 and lower +### Git configuration git config pre-commit.checks "whitespace, jshint, debugger" To disable, simply leave one off the list git config pre-commit.checks "whitespace, jshint" -### 0.13.0 and higher +### CLI configuration ```ssh pre-commit <enable|disbale> <git|yaml> <checks|warnings> check1 [check2...] ```