Skip to content

Commit

Permalink
Fix codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
ezr-ondrej committed Aug 26, 2020
1 parent 443929d commit d195e34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ engines:
enabled: true
rubocop:
enabled: true
channel: rubocop-0-87
checks:
Rubocop/Style/PercentLiteralDelimiters:
enabled: false # it's outdated vs rubocop
Expand Down
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ Rails:
Rails/ActionFilter:
EnforcedStyle: action

Rails/ContentTag:
Enabled: false

Rails/SkipsModelValidations:
Enabled: false

Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'http://rubygems.org'

gemspec :name => 'foreman_ansible'

gem 'rubocop', '~> 0.87'
gem 'rubocop', '~> 0.87.0'
gem 'rubocop-minitest', '~> 0.9.0'
gem 'rubocop-performance', '~> 1.5.2'
gem 'rubocop-rails', '~> 2.5.2'
gem 'rubocop-rails', '~> 2.7.1'

0 comments on commit d195e34

Please sign in to comment.