Class: RuboCop::Cop::Rake::Desc
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Rake::Desc
- Extended by:
- AutoCorrector
- Includes:
- Helper::OnTask
- Defined in:
- lib/rubocop/cop/rake/desc.rb
Overview
Rake task definition should have a description with ‘desc` method. It is useful as a documentation of task. And Rake does not display task that does not have `desc` by `rake -T`.
Note: This cop does not require description for the default task,
because the default task is executed with `rake` without command.
Constant Summary collapse
- MSG =
'Describe the task with `desc` method.'