This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
RC npm: recommend committing a secure .npmrc file? #20
Open
Description
Some of the best practices that have been discussed here, or featured in the document, can be enforced using a common configuration file (.npmrc
) as part of the files in source control. The upside in having this committed is that when devs clone and run the repo, they are secure by default, rather than rely on pre-configuration steps.
One clear example is to enforce the --ignore-scripts
option:
ignore-scripts = true
# another example for uplifting other _secure by default_ config settings
strict-ssl = true
Metadata
Metadata
Assignees
Labels
No labels