From 29fcefb1d3d0f8dea66bb639b3e29831b980c298 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Tue, 14 May 2019 03:27:14 +0200 Subject: [PATCH] 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. --- .gitignore | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9250c4bae7c3c2..b7703a05dae889 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ .* !deps/**/.* !test/fixtures/**/.* -!tools/node_modules/**/.* !tools/doc/node_modules/**/.* !.clang-format !.editorconfig @@ -19,6 +18,12 @@ !.eslintrc.yaml !.cpplint +./node_modules + +# Whitelist all dependencies related to eslint +!tools/node_modules +!tools/node_modules/**/* + core vgcore.* v8*.log @@ -76,7 +81,6 @@ deps/icu deps/icu*.zip deps/icu*.tgz deps/icu-tmp -./node_modules android-toolchain/ # generated by gyp on Windows