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 bb5becb
Showing 1 changed file with 3 additions and 0 deletions.
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 bb5becb

Please sign in to comment.