Skip to content

Commit 3253954

Browse files
claudiorodriguezaddaleax
authored andcommittedDec 5, 2016
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 69077a1 commit 3253954

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed
 

‎.gitignore

+16-2
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
.eslintcache
2337

0 commit comments

Comments
 (0)
Please sign in to comment.