Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upMove package config into config property #860
Comments
This comment has been minimized.
This comment has been minimized.
|
What's the rationale? It's common to use the top-level of |
This comment has been minimized.
This comment has been minimized.
Scoping, mostly, for better manifest organization. Brings the added benefit anyone needing to use |
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Apr 14, 2017
|
it's better for sure. couple of other tools uses it, and evryone should use it |
This comment has been minimized.
This comment has been minimized.
|
I think it would be weird to include standard stuff under that since it would give the assumption that you should be able to configure it with
which tools are using it? |
This comment has been minimized.
This comment has been minimized.
|
@LinusU thanks for dropping the 411. here are two, and it looks like I had no idea NPM defined that. I could have swore I double checked the package spec before I opened this. But either way it still seems like the community in general would benefit from a common place to name space their configs, and I feel it would help the packagers and package authors out quite a bit of there was a standard of some kind (even if de facto). Hope that makes sense. I've been up for 48 hours coding :)~ |
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Apr 17, 2017
•
me too.
Commitizen for example. But your explanation make sense to me too, so I'm okey with both places ;d |
This comment has been minimized.
This comment has been minimized.
|
I'm going to drop this. If someone else wants to take the torch please backlink. |
ghost commentedApr 14, 2017
https://standardjs.com/#how-do-i-ignore-files
Docs suggest using
pkg.standardto configure standard. I'd like to hear thoughts on moving these intopkg.config.standardsection (example), updating the docs to only recommend the new location and leaving in backwards compatibility for those who've already started usingpkg.standard.