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
1
testing/resources/invalid_ruby.rb
Normal file
1
testing/resources/invalid_ruby.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
puts 'Hello World!
|
||||
1
testing/resources/valid_ruby.rb
Normal file
1
testing/resources/valid_ruby.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
puts 'Hello World!'
|
||||
Loading…
Add table
Add a link
Reference in a new issue