mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add check_rubocop
Uses rubocop to check syntax / style of ruby files.
This commit is contained in:
parent
616c1ebd18
commit
a2d690a0ab
7 changed files with 50 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue