Skip to content

Commit d6a24f1

Browse files
committed
Build lint process for the reportGlobalError polyfill
1 parent 5146240 commit d6a24f1

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

scripts/rollup/validate/eslintrc.cjs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ module.exports = {
5252
// Flight
5353
Promise: 'readonly',
5454

55+
// Node Feature Detection
56+
process: 'readonly',
57+
5558
// Temp
5659
AsyncLocalStorage: 'readonly',
5760
async_hooks: 'readonly',

scripts/rollup/validate/eslintrc.cjs2015.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ module.exports = {
5050
// Flight
5151
Promise: 'readonly',
5252

53+
// Node Feature Detection
54+
process: 'readonly',
55+
5356
// Temp
5457
AsyncLocalStorage: 'readonly',
5558
async_hooks: 'readonly',

scripts/rollup/validate/eslintrc.esm.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ module.exports = {
5252
// Flight
5353
Promise: 'readonly',
5454

55+
// Node Feature Detection
56+
process: 'readonly',
57+
5558
// Temp
5659
AsyncLocalStorage: 'readonly',
5760
async_hooks: 'readonly',

scripts/rollup/validate/eslintrc.fb.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ module.exports = {
5353
// Flight
5454
Promise: 'readonly',
5555

56+
// Node Feature Detection
57+
process: 'readonly',
58+
5659
// Temp
5760
AsyncLocalStorage: 'readonly',
5861
async_hooks: 'readonly',

scripts/rollup/validate/eslintrc.rn.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ module.exports = {
5353
reportError: 'readonly',
5454
AggregateError: 'readonly',
5555

56+
// Node Feature Detection
57+
process: 'readonly',
58+
5659
// Temp
5760
AsyncLocalStorage: 'readonly',
5861
async_hooks: 'readonly',

scripts/rollup/validate/eslintrc.umd.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ module.exports = {
5757
// Flight
5858
Promise: 'readonly',
5959

60+
// Node Feature Detection
61+
process: 'readonly',
62+
6063
// Temp
6164
AsyncLocalStorage: 'readonly',
6265
async_hooks: 'readonly',

0 commit comments

Comments
 (0)