JavaScript libraries like Babel, Nyc, Eslint and many others allows its configurations in resources files or in package.json
.
For instance, babel can be configured in .babelrc
file or in a babel entry in the package.json
file.
What are the advantages / disadvantages of each approach?