Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Jun 15, 2023
1 parent 27533ec commit 729759d
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 23 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ module.exports = {
// For Flow type annotation. Only `BigInt` is valid at runtime.
bigint: 'readonly',
BigInt: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
Class: 'readonly',
ClientRect: 'readonly',
CopyInspectedElementPath: 'readonly',
Expand Down
18 changes: 14 additions & 4 deletions scripts/rollup/validate/eslintrc.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,21 @@ module.exports = {
Symbol: 'readonly',
WeakMap: 'readonly',
WeakSet: 'readonly',

Int8Array: 'readonly',
Uint8Array: 'readonly',
Uint8ClampedArray: 'readonly',
Int16Array: 'readonly',
Uint16Array: 'readonly',
Int32Array: 'readonly',
Uint32Array: 'readonly',
Float32Array: 'readonly',
Float64Array: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
DataView: 'readonly',
ArrayBuffer: 'readonly',

Reflect: 'readonly',
globalThis: 'readonly',
// Vendor specific
Expand All @@ -28,15 +42,11 @@ module.exports = {
trustedTypes: 'readonly',

// Scheduler profiling
Int32Array: 'readonly',
ArrayBuffer: 'readonly',

TaskController: 'readonly',
reportError: 'readonly',
AggregateError: 'readonly',

// Flight
Uint8Array: 'readonly',
Promise: 'readonly',

// Temp
Expand Down
18 changes: 14 additions & 4 deletions scripts/rollup/validate/eslintrc.cjs2015.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,21 @@ module.exports = {
Symbol: 'readonly',
WeakMap: 'readonly',
WeakSet: 'readonly',

Int8Array: 'readonly',
Uint8Array: 'readonly',
Uint8ClampedArray: 'readonly',
Int16Array: 'readonly',
Uint16Array: 'readonly',
Int32Array: 'readonly',
Uint32Array: 'readonly',
Float32Array: 'readonly',
Float64Array: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
DataView: 'readonly',
ArrayBuffer: 'readonly',

Reflect: 'readonly',
globalThis: 'readonly',
// Vendor specific
Expand All @@ -28,15 +42,11 @@ module.exports = {
trustedTypes: 'readonly',

// Scheduler profiling
Int32Array: 'readonly',
ArrayBuffer: 'readonly',

TaskController: 'readonly',
reportError: 'readonly',
AggregateError: 'readonly',

// Flight
Uint8Array: 'readonly',
Promise: 'readonly',

// Temp
Expand Down
18 changes: 14 additions & 4 deletions scripts/rollup/validate/eslintrc.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,21 @@ module.exports = {
Symbol: 'readonly',
WeakMap: 'readonly',
WeakSet: 'readonly',

Int8Array: 'readonly',
Uint8Array: 'readonly',
Uint8ClampedArray: 'readonly',
Int16Array: 'readonly',
Uint16Array: 'readonly',
Int32Array: 'readonly',
Uint32Array: 'readonly',
Float32Array: 'readonly',
Float64Array: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
DataView: 'readonly',
ArrayBuffer: 'readonly',

Reflect: 'readonly',
globalThis: 'readonly',
// Vendor specific
Expand All @@ -28,15 +42,11 @@ module.exports = {
trustedTypes: 'readonly',

// Scheduler profiling
Int32Array: 'readonly',
ArrayBuffer: 'readonly',

TaskController: 'readonly',
reportError: 'readonly',
AggregateError: 'readonly',

// Flight
Uint8Array: 'readonly',
Promise: 'readonly',

// Temp
Expand Down
18 changes: 14 additions & 4 deletions scripts/rollup/validate/eslintrc.fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,21 @@ module.exports = {
Proxy: 'readonly',
WeakMap: 'readonly',
WeakSet: 'readonly',

Int8Array: 'readonly',
Uint8Array: 'readonly',
Uint8ClampedArray: 'readonly',
Int16Array: 'readonly',
Uint16Array: 'readonly',
Int32Array: 'readonly',
Uint32Array: 'readonly',
Float32Array: 'readonly',
Float64Array: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
DataView: 'readonly',
ArrayBuffer: 'readonly',

Reflect: 'readonly',
globalThis: 'readonly',
// Vendor specific
Expand All @@ -29,15 +43,11 @@ module.exports = {
trustedTypes: 'readonly',

// Scheduler profiling
Int32Array: 'readonly',
ArrayBuffer: 'readonly',

TaskController: 'readonly',
reportError: 'readonly',
AggregateError: 'readonly',

// Flight
Uint8Array: 'readonly',
Promise: 'readonly',

// Temp
Expand Down
18 changes: 15 additions & 3 deletions scripts/rollup/validate/eslintrc.rn.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ module.exports = {
Proxy: 'readonly',
WeakMap: 'readonly',
WeakSet: 'readonly',

Int8Array: 'readonly',
Uint8Array: 'readonly',
Uint8ClampedArray: 'readonly',
Int16Array: 'readonly',
Uint16Array: 'readonly',
Int32Array: 'readonly',
Uint32Array: 'readonly',
Float32Array: 'readonly',
Float64Array: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
DataView: 'readonly',
ArrayBuffer: 'readonly',

Reflect: 'readonly',
globalThis: 'readonly',
// Vendor specific
Expand All @@ -29,9 +44,6 @@ module.exports = {
// RN supports this
setImmediate: 'readonly',
// Scheduler profiling
Int32Array: 'readonly',
ArrayBuffer: 'readonly',

TaskController: 'readonly',
reportError: 'readonly',
AggregateError: 'readonly',
Expand Down
18 changes: 14 additions & 4 deletions scripts/rollup/validate/eslintrc.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,21 @@ module.exports = {
Proxy: 'readonly',
WeakMap: 'readonly',
WeakSet: 'readonly',

Int8Array: 'readonly',
Uint8Array: 'readonly',
Uint8ClampedArray: 'readonly',
Int16Array: 'readonly',
Uint16Array: 'readonly',
Int32Array: 'readonly',
Uint32Array: 'readonly',
Float32Array: 'readonly',
Float64Array: 'readonly',
BigInt64Array: 'readonly',
BigUint64Array: 'readonly',
DataView: 'readonly',
ArrayBuffer: 'readonly',

Reflect: 'readonly',
globalThis: 'readonly',
// Vendor specific
Expand All @@ -33,15 +47,11 @@ module.exports = {
trustedTypes: 'readonly',

// Scheduler profiling
Int32Array: 'readonly',
ArrayBuffer: 'readonly',

TaskController: 'readonly',
reportError: 'readonly',
AggregateError: 'readonly',

// Flight
Uint8Array: 'readonly',
Promise: 'readonly',

// Temp
Expand Down

0 comments on commit 729759d

Please sign in to comment.