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
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue