Skip to content

Commit 65e134f

Browse files
claudiorodriguezMylesBorins
authored andcommitted
meta: whitelist dotfiles in .gitignore
Instead of excluding IDE-specific dotfiles, exclude all and then whitelist those the project needs to track. Refs: #8010 Refs: #9111 Refs: #10052 Fixes: #8012 PR-URL: #8016 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Josh Gavant <[email protected]>
1 parent ad841a2 commit 65e134f

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.gitignore

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Whitelist dotfiles
2+
.*
3+
!deps/**/.*
4+
!test/fixtures/**/.*
5+
!tools/eslint/**/.*
6+
!tools/doc/node_modules/**/.*
7+
!.editorconfig
8+
!.eslintignore
9+
!.eslintrc
10+
!.gitattributes
11+
!.github
12+
!.gitignore
13+
!.gitkeep
14+
!.mailmap
15+
!.remarkrc
16+
117
core
218
vgcore.*
319
v8*.log
@@ -16,8 +32,6 @@ node
1632
node_g
1733
*.swp
1834
.benchmark_reports
19-
/.project
20-
/.cproject
2135
icu_config.gypi
2236

2337
/out

0 commit comments

Comments
 (0)