Created
June 27, 2015 06:05
-
-
Save seanknox/d3059c7864b8411cd2fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
verify_plugin_signatures: false | |
# We ignore the following git hooks provided by overcommit for now | |
PostCheckout: | |
ALL: | |
enabled: false | |
CommitMsg: | |
ALL: | |
enabled: false | |
# Custom options for our project | |
PreCommit: | |
# Ignore all Overcommit default options | |
ALL: | |
enabled: false | |
on_warn: fail | |
# Enable explicitly each desired pre commit check | |
Rubocop: | |
enabled: true | |
description: 'Analyzing with Rubocop' | |
required_executable: 'rubocop' | |
RailsSchemaUpToDate: | |
enabled: true | |
description: 'Checking if database schema is up to date' | |
include: | |
- 'db/migrate/*.rb' | |
- 'db/schema.rb' | |
- 'db/structure.sql' | |
YamlSyntax: | |
enabled: true | |
description: 'Checking YAML syntax' | |
RailsBestPractices: | |
enabled: true | |
description: 'Checking Rails best practices' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment