From 9a586cc6792ee1937ebee6a7a7c2c6f138a38334 Mon Sep 17 00:00:00 2001 From: Toru Kobayashi Date: Wed, 13 May 2020 08:38:27 +0900 Subject: [PATCH] fix rollup validate script --- scripts/rollup/validate/eslintignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/rollup/validate/eslintignore b/scripts/rollup/validate/eslintignore index 3f673c3248674..34b90630074b3 100644 --- a/scripts/rollup/validate/eslintignore +++ b/scripts/rollup/validate/eslintignore @@ -4,4 +4,8 @@ **/react-noop-renderer/** JestReact-prod.js JestReact-dev.js -**/jest-react/** \ No newline at end of file +**/jest-react/** +# ESLint ignores `node_modules/*` in subdirectories +# So we have to add this to lint build files. +# https://github.com/eslint/eslint/pull/12888 +!/build/node_modules/*