Skip to content

Commit 8dc5469

Browse files
committed
Refine .gitignore patterns for .vscode directory
Reorganize .gitignore to explicitly allow settings.json: - Move .vscode pattern to maintain alphabetical order - Add negation pattern to explicitly allow .vscode/settings.json - Other .vscode files (launch.json, workspace files, etc.) remain ignored This makes it clear that settings.json is intentionally tracked while other IDE-specific files are ignored.
1 parent 8b4a1e3 commit 8dc5469

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Thumbs.db
66
/.env.local
77
/.pnpmfile.cjs
88
/.nvm
9-
/.vscode
109
/.type-coverage
10+
/.vscode
1111
/npm-debug.log
1212
/yarn.lock
1313
**/.cache
@@ -16,3 +16,5 @@ Thumbs.db
1616
**/node_modules
1717
**/*.tgz
1818
**/*.tsbuildinfo
19+
20+
!/.vscode/settings.json

0 commit comments

Comments
 (0)