Showing
5 changed files
with
23 additions
and
5 deletions
1 | 1 | repos: |
2 | -- repo: https://github.com/rubocop/rubocop | |
3 | - rev: v1.8.3 | |
2 | +- repo: local | |
4 | 3 | hooks: |
5 | - - id: rubocop | |
\ No newline at end of file | ||
4 | + - id: rubocop | |
5 | + name: Check Ruby style with rubocop | |
6 | + description: Enforce Ruby style guide with rubocop and rubocop-rspec | |
7 | + entry: rubocop | |
8 | + language: ruby | |
9 | + types: ['ruby'] | |
10 | + args: ['--auto-correct-all','--disable-uncorrectable', '--force-exclusion'] | |
\ No newline at end of file | ... | ... |
... | ... | @@ -34,7 +34,7 @@ end |
34 | 34 | |
35 | 35 | group :development do |
36 | 36 | gem 'listen', '~> 3.3' |
37 | - gem 'rubocop', '~> 1.18.3', require: false | |
37 | + gem 'rubocop', '~> 1.18.4', require: false | |
38 | 38 | # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring |
39 | 39 | gem 'spring' |
40 | 40 | end | ... | ... |
app/controllers/test3_controller.rb
0 → 100644