Task name should be camelCase
Closed this issue · 3 comments
fvanwijk commented
All grunt tasks that I have seen are in camel case. My JSCS checker is also complaining about mocha_istanbul
being camel case, since the task name is an object key in the Gruntfile configuration.
Could you please rename the task?
pocesar commented
that would break everything for everyone. the cost benefit of this change is null, sorry
fvanwijk commented
I understand. I didn't see that you are already on 3.x. When 4.x may come out, you could reconsider renaming the task. For now you could make an alias.
In the meanwhile I use this workaround:
grunt.task.renameTask('mocha_istanbul', 'mochaIstanbul');
pocesar commented
yeah, aliasing should do.