Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .vercel/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
> Why do I have a folder named ".vercel" in my project?
The ".vercel" folder is created when you link a directory to a Vercel project.

> What does the "project.json" file contain?
The "project.json" file contains:
- The ID of the Vercel project that you linked ("projectId")
- The ID of the user or team your Vercel project is owned by ("orgId")

> Should I commit the ".vercel" folder?
No, you should not share the ".vercel" folder with anyone.
Upon creation, it will be automatically added to your ".gitignore" file.
1 change: 1 addition & 0 deletions .vercel/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"projectId":"prj_V6ZPHv8clQQHNTKdgkfsFXlTrTAg","orgId":"team_2aCHvUVrYZucXr8M6nKbn8FC","projectName":"slate"}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Remove committed Vercel linkage metadata from source control.

This file should not be tracked in git; it exposes project/org identifiers and conflicts with the guidance in .vercel/README.txt (Lines 9-11). Remove .vercel/project.json from the repo and add .vercel/ to .gitignore to prevent re-commit.

Suggested remediation
# .gitignore
+.vercel/
# one-time cleanup
git rm --cached .vercel/project.json .vercel/README.txt
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.vercel/project.json at line 1, Remove the committed Vercel linkage metadata
by untracking .vercel/project.json (and optionally .vercel/README.txt) from git
and prevent future commits by adding .vercel/ to .gitignore; specifically,
locate the .vercel/project.json entry, remove that file from the repository
index (untrack it) and commit the removal, add a line with ".vercel/" to
.gitignore, and commit the .gitignore change so the project/org identifiers are
no longer tracked.

Loading