Skip to content

Commit 29fcefb

Browse files
committed
tools: update .gitignore file
This makes sure we do not ignore eslint files that should actually be updated. We need to explicitly whitelist the folder and the files. Otherwise peer dependencies might not be updated as expected.
1 parent c037d72 commit 29fcefb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
.*
33
!deps/**/.*
44
!test/fixtures/**/.*
5-
!tools/node_modules/**/.*
65
!tools/doc/node_modules/**/.*
76
!.clang-format
87
!.editorconfig
@@ -19,6 +18,12 @@
1918
!.eslintrc.yaml
2019
!.cpplint
2120

21+
./node_modules
22+
23+
# Whitelist all dependencies related to eslint
24+
!tools/node_modules
25+
!tools/node_modules/**/*
26+
2227
core
2328
vgcore.*
2429
v8*.log
@@ -76,7 +81,6 @@ deps/icu
7681
deps/icu*.zip
7782
deps/icu*.tgz
7883
deps/icu-tmp
79-
./node_modules
8084
android-toolchain/
8185

8286
# generated by gyp on Windows

0 commit comments

Comments
 (0)