From 2d59c7825cf8d85bb54db56600cfab9beed7be3f Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Sat, 22 Jun 2024 18:01:53 +0900 Subject: [PATCH] meta: add npmrc Summary: Enforce `--audit=false` and `--fund=false`. Ref D375. Signed-off-by: Yongmin Hong Test Plan: Run `npm ci` and see if audit/funding messages appear. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D386 --- .npmrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..601c99b --- /dev/null +++ b/.npmrc @@ -0,0 +1,8 @@ +# For 15-25% faster npm install +# https://www.peterbe.com/plog/benchmarking-npm-install-with-or-without-audit +# Also we have Dependabot alerts configured in the GitHub repo. +# Moral attribution: Copyright 2024 GitHub +# SPDX-License-Identifier: MIT +# See also D375 +audit=false +fund=false