diff --git a/.rubocop.yml b/.rubocop.yml index ae6b16dc2e9..ba01dd917e3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -23,6 +23,7 @@ AllCops: - Gemfile - locale/action_names.rb - lib/monkeys/remove_hidden_distribution.rb + - vendor/**/* Include: - '**/*.rb' - app/views/**/*.rabl diff --git a/katello.gemspec b/katello.gemspec index b960e3e2500..fb9cebd9109 100644 --- a/katello.gemspec +++ b/katello.gemspec @@ -65,4 +65,7 @@ Gem::Specification.new do |gem| gem.add_dependency "deface", '>= 1.0.2', '< 2.0.0' gem.add_dependency "angular-rails-templates", "~> 1.1.0" gem.add_development_dependency "uglifier" + + # Rubocop + gem.add_development_dependency 'theforeman-rubocop', '~> 0.0.6' end