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 manually include them.

[1] - rubocop/rubocop#5882
  • Loading branch information
adamruzicka committed Aug 7, 2020
1 parent bf35476 commit 9c7b143
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 @@ -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

Expand Down

0 comments on commit 9c7b143

Please sign in to comment.