Skip to content

Commit a1699ff

Browse files
committed
Add yarn.lock to .gitignore to prevent accidental yarn usage
This project uses npm as the package manager (package-lock.json). Added yarn.lock to .gitignore to prevent it from being accidentally created and committed if someone runs 'yarn install' by mistake. Note: If yarn install is run, it will show warnings about package-lock.json and the 'vscode' engine. These warnings are unavoidable in an npm-based project and should be ignored. Use 'npm install' instead.
1 parent 617e0d7 commit a1699ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ web_modules/
7272
# Yarn Integrity file
7373
.yarn-integrity
7474

75+
# Yarn lock file (project uses npm, not yarn)
76+
yarn.lock
77+
7578
# dotenv environment variable files
7679
.env
7780
.env.development.local

0 commit comments

Comments
 (0)