From c640957b4349147ce9770f04d1b9d128ed39b226 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 3 Nov 2021 16:13:19 -0700 Subject: [PATCH] chore: dont flag node_modules or package-lock as generated Now that we make dependency upgrades as pull requests, this should make them easier to review since GitHub will now render diffs for them by default. PR-URL: https://github.com/npm/cli/pull/3991 Credit: @lukekarrys Close: #3991 Reviewed-by: @wraithgar --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000..ef4b94f9e45f9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +/node_modules/** linguist-generated=false +/package-lock.json linguist-generated=false