-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False negatives for Rake/Desc
cop
#49
Comments
What is the expected behavior? The problem is unclear. Is this the same as #46 ? |
I have the following code: task lint: :rubocop I run rubocop and get offences: ydakuka@yauhenid:~/Work/project$ bin/rails_docker rubocop Rakefile
Inspecting 1 file
C
Offenses:
Rakefile:3:1: C: Rake/Desc: Describe the task with desc method.
task lint: :rubocop
^^^^^^^^^^^^^^^^^^^
1 file inspected, 1 offense detected However, if I have the code: task lint: %i[rubocop] I will run rubocop and will not receive any offences. ydakuka@yauhenid:~/Work/project$ bin/rails_docker rubocop Rakefile
Inspecting 1 file
.
1 file inspected, no offenses detected |
Rake/Desc
copRake/Desc
cop
Rake/Desc
copRake/Desc
cop
ydakuka
added a commit
to ydakuka/rubocop-rake
that referenced
this issue
Feb 23, 2025
…a single prerequisite in an array.
Open
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actual behavior
terminal:
Rubocop
The text was updated successfully, but these errors were encountered: