-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Expose reporter(s) & reportDir via package.json config? #156
Comments
@jameswomack sounds like a great configuration option, no objection here 👍 |
For that matter, there should be 100% config parity between the CLI and the CLI should take priority, defaulting to the config (which in turn defaults to our set of "sensible" defaults). |
@jamestalmage That's what seems intuitive to me |
I like that both |
... perhaps we could add this on the yargs |
👍 The only contentious discussion we had w/ regard to this behavior in AVA, was what to do with array based args (i.e. My contention was that you blow the original array away, forcing them to rewrite all the The other suggestion was that we append to the existing array. I argued against this because then you are unable to remove items from the I think our decisions make sense for a |
👍 That's been working very well for AVA and XO.
I too feel we made the right choice with that. |
Just a note that any implementation done for these options, should also be done for the new --extension arg / config setting that is now implemented in pull request #163. |
It seems this does not work for the |
I'm interested in moving
--reportDir=tests/output/coverage --reporter=html
into the package.json "nyc" config object, but don't know if that's something anyone else would see as being valuable.The text was updated successfully, but these errors were encountered: