diff --git a/scripts/rollup/validate/eslintrc.cjs.js b/scripts/rollup/validate/eslintrc.cjs.js index 82c236f7c2228..13fb2c35d86ed 100644 --- a/scripts/rollup/validate/eslintrc.cjs.js +++ b/scripts/rollup/validate/eslintrc.cjs.js @@ -17,6 +17,8 @@ module.exports = { __REACT_DEVTOOLS_GLOBAL_HOOK__: true, // CommonJS / Node process: true, + setImmediate: true, + Buffer: true, }, parserOptions: { ecmaVersion: 5, diff --git a/scripts/rollup/validate/eslintrc.fb.js b/scripts/rollup/validate/eslintrc.fb.js index 527fd0a473c98..231d4fe20af9f 100644 --- a/scripts/rollup/validate/eslintrc.fb.js +++ b/scripts/rollup/validate/eslintrc.fb.js @@ -17,6 +17,9 @@ module.exports = { __REACT_DEVTOOLS_GLOBAL_HOOK__: true, // FB __DEV__: true, + // Node.js Server Rendering + setImmediate: true, + Buffer: true, }, parserOptions: { ecmaVersion: 5,