From a32f1d941ce269ec5c05fc1cb90d72f8ec8ae6aa Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 28 Nov 2023 11:22:05 +0100 Subject: [PATCH] rubocop --- .rubocop.yml | 1 + katello.gemspec | 3 +++ 2 files changed, 4 insertions(+) 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