Explorar o código

chore: format globals whitelist

Evan You %!s(int64=6) %!d(string=hai) anos
pai
achega
954f3f7560
Modificáronse 1 ficheiros con 25 adicións e 7 borrados
  1. 25 7
      packages/shared/src/globalsWhitelist.ts

+ 25 - 7
packages/shared/src/globalsWhitelist.ts

@@ -1,7 +1,25 @@
-export const globalsWhitelist = new Set(
-  [
-    'Infinity', 'undefined', 'NaN', 'isFinite', 'isNaN', 'parseFloat', 'parseInt', 'decodeURI',
-    'decodeURIComponent', 'encodeURI', 'encodeURIComponent', 'Math', 'Number', 'Date', 'Array',
-    'Object', 'Boolean', 'String', 'RegExp', 'Map', 'Set', 'JSON', 'Intl'
-  ]
-)
+export const globalsWhitelist = new Set([
+  'Infinity',
+  'undefined',
+  'NaN',
+  'isFinite',
+  'isNaN',
+  'parseFloat',
+  'parseInt',
+  'decodeURI',
+  'decodeURIComponent',
+  'encodeURI',
+  'encodeURIComponent',
+  'Math',
+  'Number',
+  'Date',
+  'Array',
+  'Object',
+  'Boolean',
+  'String',
+  'RegExp',
+  'Map',
+  'Set',
+  'JSON',
+  'Intl'
+])