You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm currently using load-grunt-config in order to load grunt task files, each of which contains relevant config for that task. Most plugins will namespace their config. So jsonlint would need config like
jsonlint: {src: ['some/valid.json']}
And instead, I have jsonlint.js which is loaded and the config is associated with the jsonlint key.
However, istanbul does not namespace these, so I can't set up my makeReport task in the same way. Have you considered namespacing some or all of this plugin config? Like:
It's worth mentioning that I can just name my file makeReport.js to get around this in my case, though I did find it curious that the config wasn't named similarly to other plugins.
Hi @yomed, did you ever work out a fix for this? My build is failing at Warning: Task "istanbul:instrument" not found. Use --force to continue.
I don't want to add the tasks into my Gruntfile and, even if I create separate JS files for the tasks, e.g. grunt/mochaTest.js, it still can't find some tasks. Seems to work for instrument and makeReport but not mochaTest or storeCoverage ..
Hi, I'm currently using load-grunt-config in order to load grunt task files, each of which contains relevant config for that task. Most plugins will namespace their config. So
jsonlint
would need config likeAnd instead, I have
jsonlint.js
which is loaded and the config is associated with thejsonlint
key.However,
istanbul
does not namespace these, so I can't set up mymakeReport
task in the same way. Have you considered namespacing some or all of this plugin config? Like:The text was updated successfully, but these errors were encountered: