Add check_rubocop

Uses rubocop to check syntax / style of ruby files.
This commit is contained in:
Jordan Tardif 2015-09-09 08:52:11 +00:00
parent 616c1ebd18
commit a2d690a0ab
7 changed files with 50 additions and 0 deletions

View file

@ -37,6 +37,12 @@
entry: check-json
language: python
files: \.json$
- id: check-rubocop
name: Check Rubocop
description: This hook checks ruby files for syntax/style
entry: check-rubocop
language: python
files: \.rb$
- id: pretty-format-json
name: Pretty format JSON
description: This hook sets a standard for formatting JSON files.