config/default.yml in rubocop-rake-0.3.1 vs config/default.yml in rubocop-rake-0.4.0

- old
+ new

@@ -1,23 +1,24 @@ +Rake: + Include: + - 'Rakefile' + - '**/*.rake' + 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.' Enabled: true VersionAdded: '0.1.0' - Include: - - 'Rakefile' - - '**/*.rake' +Rake/DuplicateTask: + Description: 'Do not define tasks with the same name' + Enabled: true + VersionAdded: '0.4.0' + Rake/MethodDefinitionInTask: Description: 'Do not define a method in rake task, because it will be defined to the top level.' Enabled: true VersionAdded: '0.2.0' - Include: - - 'Rakefile' - - '**/*.rake'