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

@ -34,6 +34,7 @@ Add this to your `.pre-commit-config.yaml`
- `check-docstring-first` - Checks for a common error of placing code before
the docstring.
- `check-json` - Attempts to load all json files to verify syntax.
- `check-rubocop` - Attempts to verify syntax / style for ruby files
- `check-merge-conflict` - Check for files that contain merge conflict strings.
- `check-xml` - Attempts to load all xml files to verify syntax.
- `check-yaml` - Attempts to load all yaml files to verify syntax.