Skip to content

Commit

Permalink
Filter target files for Rake/ClassDefinitionInTask cop
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Oct 5, 2019
1 parent 619e797 commit 105b087
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## master (unreleased)

### Bug fixes

* [#17](https://github.com/rubocop-hq/rubocop-rake/pull/17): Filter target files for Rake/ClassDefinitionInTask cop. ([@pocke][])

<!--
### New features
Expand Down
3 changes: 3 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Rake/ClassDefinitionInTask:
Description: 'Do not define a class or module in rake task, because it will be defined to the top level.'
Enabled: true
VersionAdded: '0.3.0'
Include:
- 'Rakefile'
- '**/*.rake'

Rake/Desc:
Description: 'Describe the task with `desc` method.'
Expand Down

0 comments on commit 105b087

Please sign in to comment.