diff --git a/.codeclimate.yml b/.codeclimate.yml index ef8ace042..d0bee7728 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -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 diff --git a/.rubocop.yml b/.rubocop.yml index 6409291b3..dd8135985 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -36,6 +36,9 @@ Rails: Rails/ActionFilter: EnforcedStyle: action +Rails/ContentTag: + Enabled: false + Rails/SkipsModelValidations: Enabled: false diff --git a/Gemfile b/Gemfile index 3aa177709..6df201afa 100644 --- a/Gemfile +++ b/Gemfile @@ -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'