Skip to content

Commit

Permalink
Merge pull request #17 from rubocop-hq/include
Browse files Browse the repository at this point in the history
Filter target files for Rake/ClassDefinitionInTask cop
  • Loading branch information
pocke committed Oct 5, 2019
2 parents 619e797 + 105b087 commit 46e2b00
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 46e2b00

Please sign in to comment.