Last active
October 13, 2018 17:17
-
-
Save tsu-nera/abe2299c13be3c8e863156d59f19e35b to your computer and use it in GitHub Desktop.
overcommit config file
This file contains hidden or 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
PreCommit: | |
RuboCop: | |
description: "Rubocopの実行" | |
enabled: true | |
command: ['bundle', 'exec', 'rubocop', '-c', '.rubocop.yml'] | |
AuthorName: | |
description: "gitのユーザ名チェック" | |
enabled: false | |
# Fasterer: | |
# enabled: true | |
# description: "パフォーマンスチェック(fasterer)" | |
# BundleAudit: | |
# enabled: true | |
# description: "脆弱性チェック(bundler-audio)" | |
# Brakeman: | |
# enabled: true | |
# RailsSchemaUpToDate: | |
# enabled: true | |
# Reek: | |
# enabled: true | |
# command: ['reek', '-c', 'config.reek.yml'] | |
# RailsBestPractices: | |
# enabled: true | |
# EsLint: | |
# description: "eslintの実行" | |
# enabled: true | |
# required_executable: 'npm' | |
# command: ['node_modules/.bin/eslint'] | |
# flags: ['--format=compact'] | |
# install_command: 'npm install -g eslint' | |
# include: | |
# - 'app/javascript/**/*.js' | |
# - 'app/javascript/**/*.vue' | |
# - '.eslintrc' | |
PostCheckout: | |
BundleInstall: | |
description: "bundle installの実行" | |
enabled: true | |
YarnInstall: | |
description: "yarn installの実行" | |
enabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment