pocesar/grunt-mocha-istanbul

Task name should be camelCase

Closed this issue · 3 comments

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?

that would break everything for everyone. the cost benefit of this change is null, sorry

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');

Also see stephenharris/grunt-checktextdomain#2

yeah, aliasing should do.