From 9c7b143667fb4f648b3aae15a7ceb74cadd14576 Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Thu, 13 Jun 2019 10:20:17 +0200 Subject: [PATCH] Fixes #27043 - Make rubocop work again The behavior of include changed in rubocop 0.56.0[1] and it started overriding defaults provided by rubocop completely. This lead to only rabl and rake files being checked by rubocop. All of the file types which were manually included are being checked by rubocop by default now and there's no need to manually include them. [1] - https://github.com/rubocop-hq/rubocop/pull/5882 --- .rubocop.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 796c1f0c6..4c08c8be5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,12 +5,6 @@ require: inherit_from: .rubocop_todo.yml -AllCops: - Include: - - 'Rakefile' - - 'app/views/foreman_tasks/api/**/*.rabl' - - lib/**/*.rake - Lint/ShadowingOuterLocalVariable: Enabled: false