Skip to content

Commit 07e204f

Browse files
author
Konrad Jamrozik
committed
add .gitignore rule for excluding package-lock.json files except the top-level
1 parent e1aac0e commit 07e204f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ warnings.txt
127127
eng/tools/**/dist
128128
!eng/tools/**/cmd/*.js
129129
!eng/tools/**/eslint.config.js
130+
131+
# No package-lock.json files should be commited except the top-level.
132+
**/package-lock.json
133+
!/package-lock.json

0 commit comments

Comments
 (0)