Skip to content

Commit

Permalink
Fixes #27043 - Make rubocop work again
Browse files Browse the repository at this point in the history
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 keep them around.

[1] - rubocop/rubocop#5882
  • Loading branch information
adamruzicka committed Jun 13, 2019
1 parent b05f263 commit 0a9a7ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
inherit_from:
- .rubocop_todo.yml

AllCops:
Include:
- 'Rakefile'
- 'app/views/foreman_tasks/api/**/*.rabl'
- lib/**/*.rake

Lint/ShadowingOuterLocalVariable:
Enabled: false

Expand Down

0 comments on commit 0a9a7ec

Please sign in to comment.