meta: whitelist dotfiles in .gitignore
Instead of excluding IDE-specific dotfiles, exclude all and then whitelist those the project needs to track. Refs: https://github.com/nodejs/node/pull/8010 Refs: https://github.com/nodejs/node/pull/9111 Refs: https://github.com/nodejs/node/pull/10052 Fixes: https://github.com/nodejs/node/issues/8012 PR-URL: https://github.com/nodejs/node/pull/8016 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
This commit is contained in:
parent
f7fbe42455
commit
15cc7c0e19
18
.gitignore
vendored
18
.gitignore
vendored
@ -1,3 +1,19 @@
|
|||||||
|
# Whitelist dotfiles
|
||||||
|
.*
|
||||||
|
!deps/**/.*
|
||||||
|
!test/fixtures/**/.*
|
||||||
|
!tools/eslint/**/.*
|
||||||
|
!tools/doc/node_modules/**/.*
|
||||||
|
!.editorconfig
|
||||||
|
!.eslintignore
|
||||||
|
!.eslintrc
|
||||||
|
!.gitattributes
|
||||||
|
!.github
|
||||||
|
!.gitignore
|
||||||
|
!.gitkeep
|
||||||
|
!.mailmap
|
||||||
|
!.remarkrc
|
||||||
|
|
||||||
core
|
core
|
||||||
vgcore.*
|
vgcore.*
|
||||||
v8*.log
|
v8*.log
|
||||||
@ -16,8 +32,6 @@ node
|
|||||||
node_g
|
node_g
|
||||||
*.swp
|
*.swp
|
||||||
.benchmark_reports
|
.benchmark_reports
|
||||||
/.project
|
|
||||||
/.cproject
|
|
||||||
icu_config.gypi
|
icu_config.gypi
|
||||||
.eslintcache
|
.eslintcache
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user