Просмотр исходного кода

chore: format globals whitelist

Evan You 6 лет назад
Родитель
Сommit
954f3f7560
1 измененных файлов с 25 добавлено и 7 удалено
  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'
+])