Skip to content

Commit

Permalink
Use rubocop-rails gem
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcoux committed Jun 27, 2019
1 parent 395359f commit bf81763
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
@@ -1,6 +1,7 @@
inherit_from: .rubocop_todo.yml

require: rubocop-performance
require: rubocop-rails

AllCops:
UseCache: true
Expand Down
2 changes: 2 additions & 0 deletions src/api/Gemfile
Expand Up @@ -159,6 +159,8 @@ group :development, :test do
gem 'pry-byebug'
# for style checks
gem 'rubocop', require: false
# for rails style checks
gem 'rubocop-rails', require: false
# for rspec style checks
gem 'rubocop-rspec', require: false
# for performance checks
Expand Down
4 changes: 4 additions & 0 deletions src/api/Gemfile.lock
Expand Up @@ -372,6 +372,9 @@ GEM
unicode-display_width (>= 1.4.0, < 1.7)
rubocop-performance (1.4.0)
rubocop (>= 0.71.0)
rubocop-rails (2.1.0)
rack (>= 1.1)
rubocop (>= 0.72.0)
rubocop-rspec (1.33.0)
rubocop (>= 0.60.0)
ruby-ldap (0.9.20)
Expand Down Expand Up @@ -553,6 +556,7 @@ DEPENDENCIES
rspec_junit_formatter
rubocop
rubocop-performance
rubocop-rails
rubocop-rspec
ruby-ldap
sanitize
Expand Down

0 comments on commit bf81763

Please sign in to comment.