mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.14k stars 9.95k forks source link

Fix various ESLint issues #7957

Closed rvandermeulen closed 6 years ago

rvandermeulen commented 7 years ago

We currently skip ESLint checking in the pdfjs directory due to various issues. It would be nice if we could get them fixed upstream so we could remove it from the whitelist.

I ran a Try push off version 1.6.454 (rev b8cd1433) with that whitelisting entry removed and here's the list of issues that were uncovered: PdfJsNetwork.jsm:33:12 | 'NetworkManager' is already declared in the upper scope. (no-shadow) PdfJsNetwork.jsm:65:9 | Expected property shorthand. (object-shorthand) PdfJsNetwork.jsm:66:9 | Expected property shorthand. (object-shorthand) PdfJsNetwork.jsm:82:9 | Expected property shorthand. (object-shorthand) PdfJsNetwork.jsm:204:11 | Expected property shorthand. (object-shorthand) PdfJsNetwork.jsm:205:11 | Expected property shorthand. (object-shorthand) PdfJsNetwork.jsm:212:11 | Expected property shorthand. (object-shorthand) PdfJsTelemetry.jsm:26:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:26:27 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:30:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:30:23 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:34:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:34:27 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:38:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:38:30 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:42:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:42:32 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:46:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:46:20 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:50:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:50:23 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:54:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:54:19 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:58:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:58:20 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:62:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:62:25 | Unexpected space before function parentheses. (space-before-function-paren) PdfJsTelemetry.jsm:66:3 | Expected method shorthand. (object-shorthand) PdfJsTelemetry.jsm:66:25 | Unexpected space before function parentheses. (space-before-function-paren) PdfStreamConverter.jsm:174:67 | Unary word operator 'void' must be followed by whitespace. (space-unary-ops) PdfStreamConverter.jsm:193:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:222:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:225:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:282:9 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:293:9 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:302:9 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:302:55 | 'aInputStream' is already declared in the upper scope. (no-shadow) PdfStreamConverter.jsm:312:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:315:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:328:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:343:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:348:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:351:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:357:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:357:28 | Unexpected space before function parentheses. (space-before-function-paren) PdfStreamConverter.jsm:413:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:415:9 | 'url' is assigned a value but never used. (no-unused-vars) PdfStreamConverter.jsm:417:9 | 'self' is assigned a value but never used. (no-unused-vars) PdfStreamConverter.jsm:445:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:465:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:500:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:500:19 | Expected to return a value at the end of this function. (consistent-return) PdfStreamConverter.jsm:538:12 | 'RangedChromeActions' is already declared in the upper scope. (no-shadow) PdfStreamConverter.jsm:554:7 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:590:7 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:616:46 | Unexpected space before function parentheses. (space-before-function-paren) PdfStreamConverter.jsm:619:11 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:620:11 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:624:46 | Unexpected space before function parentheses. (space-before-function-paren) PdfStreamConverter.jsm:635:7 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:653:51 | 'args' is already declared in the upper scope. (no-shadow) PdfStreamConverter.jsm:686:12 | 'StandardChromeActions' is already declared in the upper scope. (no-shadow) PdfStreamConverter.jsm:711:9 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:712:9 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:720:9 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:721:9 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:767:40 | 'response' is already declared in the upper scope. (no-shadow) PdfStreamConverter.jsm:770:39 | Expected property shorthand. (object-shorthand) PdfStreamConverter.jsm:861:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:866:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:872:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:884:3 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:963:7 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:966:7 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:970:7 | Expected method shorthand. (object-shorthand) PdfStreamConverter.jsm:1020:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:70:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:70:17 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:97:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:97:19 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:126:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:126:40 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:142:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:148:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:148:19 | Expected to return a value at the end of this function. (consistent-return) PdfjsChromeUtils.jsm:148:27 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:185:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:192:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:192:32 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:198:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:217:27 | Expected property shorthand. (object-shorthand) PdfjsChromeUtils.jsm:217:39 | Expected property shorthand. (object-shorthand) PdfjsChromeUtils.jsm:226:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:226:30 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:245:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:245:33 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:261:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:261:37 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:271:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:271:27 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:276:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:276:24 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:281:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:281:25 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:286:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:286:25 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:291:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:291:27 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:304:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:304:32 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:314:3 | Expected method shorthand. (object-shorthand) PdfjsChromeUtils.jsm:314:28 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsChromeUtils.jsm:328:29 | Expected property shorthand. (object-shorthand) PdfjsChromeUtils.jsm:333:7 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:41:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:41:17 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:52:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:52:19 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:66:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:66:26 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:72:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:72:23 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:79:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:79:24 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:86:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:86:24 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:93:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:93:26 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:104:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:104:32 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:112:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:112:27 | Unexpected space before function parentheses. (space-before-function-paren) PdfjsContentUtils.jsm:121:7 | Expected property shorthand. (object-shorthand) PdfjsContentUtils.jsm:129:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:135:3 | Expected method shorthand. (object-shorthand) PdfjsContentUtils.jsm:135:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:15:10 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:24:17 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:28:6 | 'pdfjsFilePath' is assigned a value but never used. (no-unused-vars) build/pdf.js:31:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:33:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:33:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:34:22 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:34:63 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:340:6 | Expected property shorthand. (object-shorthand) build/pdf.js:349:20 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:363:14 | 'PasswordException' is already declared in the upper scope. (no-shadow) build/pdf.js:373:14 | 'UnknownErrorException' is already declared in the upper scope. (no-shadow) build/pdf.js:383:14 | 'InvalidPDFException' is already declared in the upper scope. (no-shadow) build/pdf.js:392:14 | 'MissingPDFException' is already declared in the upper scope. (no-shadow) build/pdf.js:401:14 | 'UnexpectedResponseException' is already declared in the upper scope. (no-shadow) build/pdf.js:411:14 | 'NotImplementedException' is already declared in the upper scope. (no-shadow) build/pdf.js:420:14 | 'MissingDataException' is already declared in the upper scope. (no-shadow) build/pdf.js:431:14 | 'XRefParseException' is already declared in the upper scope. (no-shadow) build/pdf.js:550:14 | 'Util' is already declared in the upper scope. (no-shadow) build/pdf.js:777:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:789:14 | 'PageViewport' is already declared in the upper scope. (no-shadow) build/pdf.js:1105:46 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1114:41 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1116:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1120:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1122:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1137:45 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1138:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1144:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1145:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1151:53 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1166:14 | 'StatTimer' is already declared in the upper scope. (no-shadow) build/pdf.js:1216:30 | Expected to return a value at the end of this function. (consistent-return) build/pdf.js:1224:21 | 'createObjectURL' is already declared in the upper scope. (no-shadow) build/pdf.js:1271:12 | 'sourceName' is already declared in the upper scope. (no-shadow) build/pdf.js:1272:12 | 'targetName' is already declared in the upper scope. (no-shadow) build/pdf.js:1273:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1275:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1277:10 | Expected property shorthand. (object-shorthand) build/pdf.js:1278:10 | Expected property shorthand. (object-shorthand) build/pdf.js:1283:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1288:10 | Expected property shorthand. (object-shorthand) build/pdf.js:1289:10 | Expected property shorthand. (object-shorthand) build/pdf.js:1320:7 | Expected property shorthand. (object-shorthand) build/pdf.js:1330:7 | Expected property shorthand. (object-shorthand) build/pdf.js:1331:7 | Expected property shorthand. (object-shorthand) build/pdf.js:1342:5 | Expected method shorthand. (object-shorthand) build/pdf.js:1342:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1349:5 | Expected method shorthand. (object-shorthand) build/pdf.js:1349:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1430:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1432:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1432:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:1445:14 | 'CustomStyle' is already declared in the upper scope. (no-shadow) build/pdf.js:1474:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1569:13 | Expected to return a value at the end of this function. (consistent-return) build/pdf.js:1595:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1597:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1597:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:1598:8 | 'assert' is assigned a value but never used. (no-unused-vars) build/pdf.js:1600:8 | 'string32' is assigned a value but never used. (no-unused-vars) build/pdf.js:1602:8 | 'warn' is assigned a value but never used. (no-unused-vars) build/pdf.js:1646:14 | 'FontFaceObject' is already declared in the upper scope. (no-shadow) build/pdf.js:1691:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1713:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1715:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1715:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:1718:56 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1719:68 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1780:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1782:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1782:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:1784:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1786:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1786:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:1841:14 | 'AnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:1921:8 | Expected property shorthand. (object-shorthand) build/pdf.js:1922:8 | Expected property shorthand. (object-shorthand) build/pdf.js:1939:14 | 'LinkAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:1963:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1976:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:1986:14 | 'TextAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2010:14 | 'WidgetAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2026:14 | 'TextWidgetAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2077:26 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:2087:14 | 'CheckboxWidgetAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2106:14 | 'RadioButtonWidgetAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2126:14 | 'ChoiceWidgetAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2157:14 | 'PopupAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2188:14 | 'PopupElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2265:14 | 'HighlightAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2281:14 | 'UnderlineAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2297:14 | 'SquigglyAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2313:14 | 'StrikeOutAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2329:14 | 'FileAttachmentAnnotationElement' is already declared in the upper scope. (no-shadow) build/pdf.js:2367:9 | Expected property shorthand. (object-shorthand) build/pdf.js:2396:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2398:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2398:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:2525:8 | Expected property shorthand. (object-shorthand) build/pdf.js:2612:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2612:35 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.js:2631:37 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2631:39 | 'ts' is already declared in the upper scope. (no-shadow) build/pdf.js:2633:17 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.js:2650:37 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2663:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2672:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2683:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2691:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2708:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2807:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2849:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2904:14 | 'renderTextLayer' is already declared in the upper scope. (no-shadow) build/pdf.js:2913:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2915:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:2915:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:3286:6 | Expected property shorthand. (object-shorthand) build/pdf.js:3287:6 | Expected property shorthand. (object-shorthand) build/pdf.js:3293:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:3295:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:3295:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:3375:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:3381:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:3387:11 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:3397:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:3432:14 | 'createMeshCanvas' is already declared in the upper scope. (no-shadow) build/pdf.js:3445:7 | Expected property shorthand. (object-shorthand) build/pdf.js:3446:7 | Expected property shorthand. (object-shorthand) build/pdf.js:3480:7 | Expected property shorthand. (object-shorthand) build/pdf.js:3483:7 | Expected property shorthand. (object-shorthand) build/pdf.js:3484:7 | Expected property shorthand. (object-shorthand) build/pdf.js:3550:14 | 'TilingPattern' is already declared in the upper scope. (no-shadow) build/pdf.js:3682:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:3684:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:3684:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:3833:14 | 'CachedCanvases' is already declared in the upper scope. (no-shadow) build/pdf.js:3851:9 | Expected property shorthand. (object-shorthand) build/pdf.js:3857:6 | Expected method shorthand. (object-shorthand) build/pdf.js:3857:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:4007:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:4012:15 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.js:4012:22 | 'ii' is already declared in the upper scope. (no-shadow) build/pdf.js:4015:16 | 'j' is already declared in the upper scope. (no-shadow) build/pdf.js:4026:14 | 'CanvasExtraState' is already declared in the upper scope. (no-shadow) build/pdf.js:4067:14 | 'CanvasGraphics' is already declared in the upper scope. (no-shadow) build/pdf.js:4297:8 | Expected property shorthand. (object-shorthand) build/pdf.js:4473:60 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:4803:18 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:4806:29 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.js:4877:9 | Expected property shorthand. (object-shorthand) build/pdf.js:4878:9 | Expected property shorthand. (object-shorthand) build/pdf.js:4879:9 | Expected property shorthand. (object-shorthand) build/pdf.js:4880:9 | Expected property shorthand. (object-shorthand) build/pdf.js:4906:8 | Expected a return value. (consistent-return) build/pdf.js:5077:9 | Expected method shorthand. (object-shorthand) build/pdf.js:5077:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5087:23 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.js:5091:21 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.js:5217:7 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.js:5221:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5222:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5223:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5224:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5311:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5330:10 | Expected property shorthand. (object-shorthand) build/pdf.js:5331:10 | Expected property shorthand. (object-shorthand) build/pdf.js:5475:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5500:10 | Expected property shorthand. (object-shorthand) build/pdf.js:5573:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5575:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5575:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:5580:8 | 'PasswordResponses' is assigned a value but never used. (no-unused-vars) build/pdf.js:5594:8 | 'isSameOrigin' is assigned a value but never used. (no-unused-vars) build/pdf.js:5610:8 | 'useRequireEnsure' is assigned a value but never used. (no-unused-vars) build/pdf.js:5622:46 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5681:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5685:80 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5709:6 | Expected property shorthand. (object-shorthand) build/pdf.js:5710:6 | Expected property shorthand. (object-shorthand) build/pdf.js:5719:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5728:14 | 'PDFDocumentLoadingTask' is already declared in the upper scope. (no-shadow) build/pdf.js:5742:6 | Expected method shorthand. (object-shorthand) build/pdf.js:5742:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5745:46 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5760:14 | 'PDFDataRangeTransport' is already declared in the upper scope. (no-shadow) build/pdf.js:5785:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5793:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:5812:14 | 'PDFDocumentProxy' is already declared in the upper scope. (no-shadow) build/pdf.js:5870:14 | 'PDFPageProxy' is already declared in the upper scope. (no-shadow) build/pdf.js:5935:9 | Expected property shorthand. (object-shorthand) build/pdf.js:5961:25 | 'error' is already declared in the upper scope. (no-shadow) build/pdf.js:6026:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6031:48 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6032:75 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6043:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6043:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6052:79 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6058:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6092:14 | Expected to return a value at the end of this function. (consistent-return) build/pdf.js:6103:10 | 'WorkerMessageHandler' is defined but never used. (no-unused-vars) build/pdf.js:6108:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6109:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6122:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6122:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6159:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6166:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6167:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6172:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6172:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6175:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6175:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6179:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6179:25 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6183:14 | 'createCDNWrapper' is defined but never used. (no-unused-vars) build/pdf.js:6187:14 | 'PDFWorker' is already declared in the upper scope. (no-shadow) build/pdf.js:6208:12 | 'workerSrc' is already declared in the upper scope. (no-shadow) build/pdf.js:6212:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6222:37 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6250:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6253:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6256:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6268:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6292:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6324:14 | 'WorkerTransport' is already declared in the upper scope. (no-shadow) build/pdf.js:6349:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6359:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6378:55 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6380:10 | Expected property shorthand. (object-shorthand) build/pdf.js:6381:10 | Expected property shorthand. (object-shorthand) build/pdf.js:6384:58 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6385:49 | Expected property shorthand. (object-shorthand) build/pdf.js:6387:65 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6388:46 | Expected property shorthand. (object-shorthand) build/pdf.js:6397:12 | 'loadingTask' is already declared in the upper scope. (no-shadow) build/pdf.js:6405:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6406:45 | Expected property shorthand. (object-shorthand) build/pdf.js:6473:11 | Expected method shorthand. (object-shorthand) build/pdf.js:6473:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6481:10 | Expected property shorthand. (object-shorthand) build/pdf.js:6527:12 | 'loadingTask' is already declared in the upper scope. (no-shadow) build/pdf.js:6558:12 | 'loadingTask' is already declared in the upper scope. (no-shadow) build/pdf.js:6564:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6573:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6575:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6584:14 | 'data' is already declared in the upper scope. (no-shadow) build/pdf.js:6599:11 | Expected property shorthand. (object-shorthand) build/pdf.js:6600:11 | Expected property shorthand. (object-shorthand) build/pdf.js:6603:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6621:70 | Expected property shorthand. (object-shorthand) build/pdf.js:6621:107 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6633:68 | Expected property shorthand. (object-shorthand) build/pdf.js:6633:94 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6639:8 | Expected property shorthand. (object-shorthand) build/pdf.js:6640:8 | Expected property shorthand. (object-shorthand) build/pdf.js:6647:70 | Expected property shorthand. (object-shorthand) build/pdf.js:6688:14 | 'PDFObjects' is already declared in the upper scope. (no-shadow) build/pdf.js:6745:14 | 'RenderTask' is already declared in the upper scope. (no-shadow) build/pdf.js:6763:14 | 'InternalRenderTask' is already declared in the upper scope. (no-shadow) build/pdf.js:6827:8 | unnecessary '.call()'. (no-useless-call) build/pdf.js:6858:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6858:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6862:6 | Expected method shorthand. (object-shorthand) build/pdf.js:6862:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6882:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6884:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6884:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.js:6886:8 | 'deprecated' is assigned a value but never used. (no-unused-vars) build/pdf.js:6887:8 | 'warn' is assigned a value but never used. (no-unused-vars) build/pdf.js:6906:5 | Expected method shorthand. (object-shorthand) build/pdf.js:6906:18 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:6909:5 | Expected method shorthand. (object-shorthand) build/pdf.js:6909:18 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.js:7007:5 | Newline required at end of file but not found. (eol-last) build/pdf.worker.js:15:10 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:24:17 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:26:6 | 'pdfjsVersion' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:27:6 | 'pdfjsBuild' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:28:6 | 'pdfjsFilePath' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:31:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:319:14 | 'ArithmeticDecoder' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:411:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:413:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:413:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:906:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:908:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:908:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:2731:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:2733:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:2733:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:2734:22 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:2734:63 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:3040:6 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:3049:20 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3063:14 | 'PasswordException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3073:14 | 'UnknownErrorException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3083:14 | 'InvalidPDFException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3092:14 | 'MissingPDFException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3101:14 | 'UnexpectedResponseException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3111:14 | 'NotImplementedException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3120:14 | 'MissingDataException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3131:14 | 'XRefParseException' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3250:14 | 'Util' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3477:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3489:14 | 'PageViewport' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3805:46 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3814:41 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3816:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3820:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3822:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3837:45 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3838:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3844:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3845:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3851:53 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3866:14 | 'StatTimer' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3916:30 | Expected to return a value at the end of this function. (consistent-return) build/pdf.worker.js:3924:21 | 'createObjectURL' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3971:12 | 'sourceName' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3972:12 | 'targetName' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:3973:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3975:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3977:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:3978:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:3983:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:3988:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:3989:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:4020:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:4030:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:4031:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:4042:5 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:4042:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:4049:5 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:4049:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:4130:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:4132:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:4132:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:4678:6 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:4679:11 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:4836:7 | Unexpected if as the only statement in an else block. (no-lonely-if) build/pdf.worker.js:4879:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:4881:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:4881:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:5571:14 | 'CFFParser' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:5781:9 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:5987:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:5988:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:5989:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:6083:11 | 'hasSupplement' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:6186:14 | 'CFF' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6202:14 | 'CFFHeader' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6211:14 | 'CFFStrings' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6234:14 | 'CFFIndex' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6257:14 | 'CFFDict' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6640:14 | 'CFFTopDict' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6789:14 | 'CFFPrivateDict' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6805:14 | 'CFFCharset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6814:14 | 'CFFEncoding' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6823:14 | 'CFFFDSelect' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6838:14 | 'CFFOffsetTracker' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:6884:14 | 'CFFCompiler' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:7243:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7245:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7245:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:7254:14 | 'ChunkedStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:7430:67 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7453:14 | 'ChunkedStreamManager' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:7482:41 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7483:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7490:33 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:7504:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7510:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:7580:36 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7596:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:7603:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:7703:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7705:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:7705:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:7707:57 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:12030:65 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:12238:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:12240:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:12240:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:12252:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:12252:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:12287:18 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:12287:32 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:12287:46 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:12287:60 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:12288:13 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:12679:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:12815:9 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:12825:9 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:12851:11 | 'totalWidth' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:13031:40 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13035:20 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13091:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:13268:11 | 'pageStripingInformation' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:13298:14 | 'parseJbig2' is defined but never used. (no-unused-vars) build/pdf.worker.js:13311:10 | 'segments' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:13427:14 | 'Jbig2Image' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13438:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:13440:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:13440:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13517:14 | 'JpegImage' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13613:41 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13634:40 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13639:45 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13643:40 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13667:45 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13735:11 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13741:11 | 'offset' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:13894:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13940:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13941:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13942:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13943:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13944:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13945:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13946:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13947:12 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:13971:13 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:14114:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14115:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14148:13 | 'scanLength' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:14310:25 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:14311:25 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:14312:25 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:14351:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:14353:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:14353:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:14368:14 | 'JpxImage' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:14787:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14788:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14789:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14790:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14791:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14792:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14793:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14880:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:14985:14 | 'component' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:15137:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15138:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15139:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15140:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15377:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15378:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15393:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15526:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15527:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15585:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15586:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15587:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15597:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15598:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15599:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15605:21 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15617:21 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:15640:15 | 'TagTree' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:15645:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15646:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15697:15 | 'InclusionTree' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:15706:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15707:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:15708:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:16003:15 | 'BitModel' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:16006:32 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:16010:35 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:16264:15 | 'Transform' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:16353:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:16354:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:16355:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:16361:15 | 'IrreversibleTransform' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:16437:15 | 'ReversibleTransform' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:16458:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:16460:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:16460:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:16462:51 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:16467:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:16467:54 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:16784:57 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:16784:59 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:17101:64 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:17101:66 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:17418:60 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:17418:62 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:17735:49 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:17735:51 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:17927:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:17927:56 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:18244:53 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:18244:55 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:18561:59 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:18561:61 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:18878:55 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:18878:57 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19195:55 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19195:57 | 't' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19402:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19404:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19404:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19409:14 | 'MurmurHash3_64' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19409:29 | 'seed' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19519:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19521:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19521:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19524:14 | 'Name' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19536:14 | 'Cmd' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19551:14 | 'Dict' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19648:14 | 'Ref' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19664:14 | 'RefSet' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19681:14 | 'RefSetCache' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19739:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19741:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19741:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:19743:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19800:57 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19832:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19967:56 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:19972:68 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:20367:77 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:20379:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:20381:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:20381:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:20383:61 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:20957:62 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:22353:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:22355:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:22355:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:22363:8 | 'warn' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:22372:14 | 'Stream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:22451:14 | 'StringStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:22464:14 | 'DecodeStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:22578:14 | 'StreamsSequenceStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23250:14 | 'FlateStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23486:14 | 'PredictorStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23658:14 | 'JpegStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23724:14 | 'JpxStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23778:14 | 'Jbig2Stream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23826:14 | 'DecryptStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23863:14 | 'Ascii85Stream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23928:14 | 'AsciiHexStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:23978:14 | 'RunLengthStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:28261:14 | 'CCITTFaxStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:28773:14 | 'LZWStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:28780:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:28888:14 | 'NullStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:28911:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:28913:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:28913:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:28928:14 | 'ARCFourCipher' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:29173:14 | 'Word64' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:29713:14 | 'NullCipher' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:30766:23 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:30789:10 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:30920:14 | 'AES128Cipher' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:30926:10 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:30971:11 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:30987:11 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:31023:9 | 'rcon' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:32067:23 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32100:10 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32231:14 | 'AES256Cipher' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32237:10 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32282:11 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32303:11 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32350:14 | 'PDF17' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32427:14 | 'PDF20' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32480:14 | 'CipherTransform' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32662:14 | 'CipherTransformFactory' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32765:14 | Expected to return a value at the end of this function. (consistent-return) build/pdf.worker.js:32819:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:32821:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:32821:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:32836:14 | Expected to return a value at the end of this function. (consistent-return) build/pdf.worker.js:32839:10 | 'length' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:33042:23 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:33111:22 | 'x' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33111:25 | 'y' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33120:22 | 'x' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33120:25 | 'y' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33129:45 | 'x' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33129:48 | 'y' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33142:21 | 'code' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33470:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:33470:25 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33482:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:33482:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33503:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:33503:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33506:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:33506:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33525:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:33525:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33544:24 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:33545:23 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:33548:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:33548:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33597:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33599:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:33599:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33634:14 | 'Parser' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:33746:9 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:33821:9 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:33968:7 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:34126:14 | 'Lexer' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:34792:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:34808:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:34810:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:34810:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:34840:14 | 'Type1CharString' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:34974:14 | 'wy' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:35035:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35035:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35110:14 | 'Type1Parser' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:35220:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:35221:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:35226:13 | 'num' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:35348:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35350:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35350:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:35535:14 | 'CMap' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:35550:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35550:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35554:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35554:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35559:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35559:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35566:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35566:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35573:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35573:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35576:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35576:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35579:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35579:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35582:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35582:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35598:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35598:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35601:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35601:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35604:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35604:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35645:14 | 'IdentityCMap' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:35653:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35653:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35656:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35656:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35659:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35659:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35662:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35662:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35665:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35665:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35668:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35668:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35671:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35671:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35676:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35676:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35679:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35679:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35698:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35702:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35755:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35755:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35761:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35761:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35774:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35774:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35778:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35778:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35782:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35782:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35805:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35805:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35814:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:35814:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35824:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:35965:14 | 'BinaryCMapReader' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36111:6 | Unexpected labeled statement. (no-labels) build/pdf.worker.js:36127:11 | Unexpected label in break statement. (no-labels) build/pdf.worker.js:36167:72 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36176:36 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36187:60 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36204:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36207:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36212:71 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36225:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36225:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36231:79 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36246:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36248:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36248:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36640:14 | 'Glyph' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36640:79 | 'isSpace' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36650:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36650:108 | 'isSpace' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36656:14 | 'ToUnicodeMap' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36663:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36663:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36668:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36668:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36671:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36671:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36674:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36674:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36677:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36677:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36686:14 | 'IdentityToUnicodeMap' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36694:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36694:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36699:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36699:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36702:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36702:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36708:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36708:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36711:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:36711:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36742:14 | 'OpenTypeFileBuilder' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36855:14 | 'Font' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36863:10 | 'names' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:36872:26 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:36926:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36926:42 | 'charCode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:36943:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:36943:41 | 'charCode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:37020:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:37040:14 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:37123:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37125:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37424:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37425:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37426:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37427:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37428:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37440:36 | 'font' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:37453:12 | 'version' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:37477:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37478:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37479:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37499:12 | 'length' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:37500:12 | 'language' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:37563:12 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37574:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37575:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37587:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:37599:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37600:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:37603:32 | 'font' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:37653:25 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:37653:62 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:37810:42 | 'properties' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38129:13 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38130:13 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38153:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38154:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38197:27 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:38197:63 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:38200:15 | Comparing to itself is potentially pointless. (no-self-compare) build/pdf.worker.js:38424:34 | 'charCode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38439:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:38439:42 | 'charCode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38629:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38630:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38631:11 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38648:17 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38648:24 | 'ii' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38706:55 | 'isSpace' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38767:13 | 'isSpace' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38784:14 | 'ErrorFont' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38784:24 | 'error' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38873:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:38940:14 | 'Type1Font' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:38962:15 | 'info' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39137:14 | 'CFFFont' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39202:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:39204:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:39204:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39209:14 | 'PostScriptParser' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39288:14 | 'PostScriptToken' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39307:14 | 'PostScriptLexer' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39396:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:39398:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:39398:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39483:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:39677:17 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39677:24 | 'ii' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39785:14 | 'PostScriptStack' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:39837:14 | 'PostScriptEvaluator' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40071:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40081:43 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40091:42 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40103:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40113:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40123:43 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40132:53 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40139:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40139:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40142:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40142:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40145:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40145:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40148:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40148:36 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40155:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40155:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40162:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40162:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40167:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:40167:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40225:14 | 'PostScriptCompiler' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40359:36 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40364:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40364:37 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40391:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40393:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:40393:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40427:14 | 'ColorSpace' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40485:8 | Unexpected if as the only statement in an else block. (no-lonely-if) build/pdf.worker.js:40734:14 | 'AlternateCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40796:14 | 'PatternCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40804:14 | 'IndexedCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40858:14 | 'DeviceGrayCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40867:11 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40894:14 | 'DeviceRgbCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40905:26 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40906:30 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40907:30 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40946:25 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40947:29 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40948:29 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:40950:14 | 'DeviceCmykCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:40982:14 | 'CalGrayCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41094:14 | 'CalRGBCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41294:14 | 'LabCS' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41358:11 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41359:11 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41376:25 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41377:29 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41378:29 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41407:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:41409:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:41409:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41431:13 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41435:17 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41453:14 | 'PDFImage' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41567:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:41597:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:41598:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:41599:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:41640:20 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41684:21 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41769:20 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41770:24 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41771:24 | Do not nest ternary expressions. (no-nested-ternary) build/pdf.worker.js:41890:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:41892:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:41892:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41926:14 | 'Catalog' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:41985:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:42029:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:42037:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:42236:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42239:49 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42249:80 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42267:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42316:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42326:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42332:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42345:61 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42345:63 | 'kid' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:42357:54 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42367:48 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:42499:14 | 'XRef' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:42627:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:42788:19 | Expected a conditional expression and instead saw an assignment. (no-cond-assign) build/pdf.worker.js:42889:8 | Expected a return value. (consistent-return) build/pdf.worker.js:43018:66 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:43034:14 | 'NameOrNumberTree' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43131:14 | 'NameTree' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43140:14 | 'NumberTree' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43149:14 | 'FileSpec' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43220:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:43248:14 | 'ObjectLoader' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43317:18 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43338:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:43340:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:43340:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43361:14 | 'Pattern' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43670:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:43691:22 | 'getB' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:43764:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:44170:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44172:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44172:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:44249:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:44249:25 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44252:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:44252:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44261:41 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44283:14 | 'PartialEvaluator' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:44377:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:44378:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:44379:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:44400:129 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44437:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:44472:111 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44472:113 | 'imageObj' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:44473:12 | 'imgData' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:44480:34 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44493:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:44524:95 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44539:82 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44543:90 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44545:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44549:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44560:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44607:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44608:116 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44635:41 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44667:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44749:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44755:18 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44758:13 | 'descriptor' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:44819:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44820:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44860:123 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:44878:110 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45182:78 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45196:13 | 'vMetricX' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:45197:13 | 'vMetricY' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:45274:27 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45275:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45451:154 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45561:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45561:46 | 'toUnicode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:45564:34 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45564:36 | 'toUnicode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:45575:7 | Opening curly brace does not appear on the same line as controlling statement. (brace-style) build/pdf.worker.js:45638:93 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45641:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45641:32 | 'charcode' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:45656:88 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45663:88 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45668:30 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45829:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45830:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45831:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45911:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45912:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45913:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45914:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45943:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45947:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45951:86 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:45951:88 | 'properties' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:45992:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45994:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45996:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45997:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:45998:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:46000:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:46021:86 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46028:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46030:34 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46030:36 | 'properties' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46042:14 | 'TranslatedFont' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46050:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46050:20 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46062:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46062:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46074:65 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46077:103 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46080:20 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46082:14 | 'operatorList' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46087:60 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46115:14 | 'OperatorList' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46131:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46131:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46142:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46142:29 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46149:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46149:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46154:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46154:25 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46160:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46160:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46167:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46167:21 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46178:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:46179:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:46192:14 | 'StateManager' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46197:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46197:20 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46202:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46202:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46208:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:46208:25 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46215:14 | 'TextState' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46311:14 | 'EvalState' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46326:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:46703:14 | 'EvaluatorPreprocessor' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:46849:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:46986:16 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47042:16 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47082:14 | 'QueueOptimizer' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47089:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47090:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47112:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47114:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47114:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47121:8 | 'isString' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:47149:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47150:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47152:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47153:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47154:7 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47158:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47160:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47166:8 | Expected no return value. (consistent-return) build/pdf.worker.js:47168:8 | Expected no return value. (consistent-return) build/pdf.worker.js:47170:8 | Expected no return value. (consistent-return) build/pdf.worker.js:47173:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47175:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47177:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47179:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47181:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47183:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47185:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47192:7 | Expected no return value. (consistent-return) build/pdf.worker.js:47239:6 | Expected no return value. (consistent-return) build/pdf.worker.js:47241:14 | 'Annotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47360:34 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47361:64 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47367:42 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47403:44 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47410:96 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47425:58 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47427:16 | 'i' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47427:23 | 'n' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47436:14 | 'AnnotationBorderStyle' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47510:14 | 'WidgetAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47560:14 | 'TextWidgetAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47589:102 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47597:14 | 'ButtonWidgetAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47650:14 | 'ChoiceWidgetAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47684:14 | 'TextAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47700:14 | 'LinkAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47714:14 | 'PopupAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47743:14 | 'HighlightAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47753:14 | 'UnderlineAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47763:14 | 'SquigglyAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47773:14 | 'StrikeOutAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47783:14 | 'FileAttachmentAnnotation' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47797:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47799:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47799:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47838:14 | 'Page' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:47850:7 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:47850:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47975:55 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47981:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:47983:106 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47991:23 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:47999:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48024:40 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48062:14 | 'PDFDocument' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48208:8 | Unnecessary return statement. (no-useless-return) build/pdf.worker.js:48219:8 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:48219:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48286:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48288:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48288:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48300:14 | 'BasePdfManager' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48362:14 | 'LocalPdfManager' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48374:34 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48403:14 | 'NetworkPdfManager' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48422:34 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48451:42 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48465:12 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48467:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48467:21 | 'exports' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48474:8 | 'PasswordResponses' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:48481:8 | 'error' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:48488:8 | 'globalScope' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:48490:14 | 'WorkerTask' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48499:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:48499:22 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48502:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:48502:25 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48505:6 | Expected method shorthand. (object-shorthand) build/pdf.worker.js:48505:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48514:14 | 'PDFWorkerStream' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48538:52 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48571:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48572:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48582:31 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48643:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48674:39 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48707:38 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48740:12 | 'dummy' is assigned a value but never used. (no-unused-vars) build/pdf.worker.js:48750:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48805:60 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48806:64 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48814:11 | 'pdfManager' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48838:45 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48840:42 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48856:9 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48861:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48866:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48879:45 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48880:32 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48890:14 | 'data' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48894:12 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48910:33 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48914:28 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48928:68 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48928:70 | 'data' is already declared in the upper scope. (no-shadow) build/pdf.worker.js:48932:26 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48955:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48970:8 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:48972:58 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48979:49 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48985:62 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:48995:24 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49036:55 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49044:62 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49050:50 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49055:99 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49058:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49083:10 | Expected property shorthand. (object-shorthand) build/pdf.worker.js:49094:57 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49099:97 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49103:19 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49125:35 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49129:47 | Unexpected space before function parentheses. (space-before-function-paren) build/pdf.worker.js:49155:5 | Newline required at end of file but not found. (eol-last) network.js:21:10 | Unexpected space before function parentheses. (space-before-function-paren) network.js:31:17 | Unexpected space before function parentheses. (space-before-function-paren) network.js:91:9 | Expected property shorthand. (object-shorthand) network.js:92:9 | Expected property shorthand. (object-shorthand) network.js:108:9 | Expected property shorthand. (object-shorthand) network.js:230:11 | Expected property shorthand. (object-shorthand) network.js:231:11 | Expected property shorthand. (object-shorthand) network.js:238:11 | Expected property shorthand. (object-shorthand) network.js:329:31 | Unexpected space before function parentheses. (space-before-function-paren) network.js:454:38 | Unexpected space before function parentheses. (space-before-function-paren) network.js:472:38 | Unexpected space before function parentheses. (space-before-function-paren) network.js:523:38 | Unexpected space before function parentheses. (space-before-function-paren) network.js:566:38 | Unexpected space before function parentheses. (space-before-function-paren) network.js:566:40 | 'requestCapability' is already declared in the upper scope. (no-shadow) network.js:601:38 | Unexpected space before function parentheses. (space-before-function-paren) web/debugger.js:137:50 | 'select' is already declared in the upper scope. (no-shadow) web/debugger.js:137:58 | 'fontName' is already declared in the upper scope. (no-shadow) web/debugger.js:288:12 | 'Stepper' is already declared in the upper scope. (no-shadow) web/debugger.js:467:5 | Expected method shorthand. (object-shorthand) web/debugger.js:486:20 | Expected property shorthand. (object-shorthand) web/debugger.js:487:30 | 'b' is already declared in the upper scope. (no-shadow) web/debugger.js:493:5 | Expected method shorthand. (object-shorthand) web/debugger.js:493:22 | Unexpected space before function parentheses. (space-before-function-paren) web/debugger.js:512:5 | Expected method shorthand. (object-shorthand) web/l10n.js:124:5 | Expected method shorthand. (object-shorthand) web/l10n.js:129:5 | Expected method shorthand. (object-shorthand) web/l10n.js:140:5 | Expected method shorthand. (object-shorthand) web/l10n.js:142:5 | Expected method shorthand. (object-shorthand) web/l10n.js:142:43 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:17:1 | Unnecessary semicolon. (no-extra-semi) web/viewer.js:19:1 | Block is redundant. (no-lone-blocks) web/viewer.js:21:11 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:22:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:24:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:139:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:154:13 | Expected to return a value at the end of this function. (consistent-return) web/viewer.js:164:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:166:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:171:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:179:8 | Expected property shorthand. (object-shorthand) web/viewer.js:180:8 | Expected property shorthand. (object-shorthand) web/viewer.js:188:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:199:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:219:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:252:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:254:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:263:14 | 'PDFRenderingQueue' is already declared in the upper scope. (no-shadow) web/viewer.js:344:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:358:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:360:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:400:76 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:409:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:423:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:429:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:430:57 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:438:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:453:8 | Unexpected if as the only statement in an else block. (no-lonely-if) web/viewer.js:462:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:478:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:480:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:483:14 | 'ViewHistory' is already declared in the upper scope. (no-shadow) web/viewer.js:487:69 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:513:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:520:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:529:7 | Expected no return value. (consistent-return) web/viewer.js:538:7 | Expected no return value. (consistent-return) web/viewer.js:551:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:553:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:555:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:557:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:559:14 | 'PDFAttachmentViewer' is already declared in the upper scope. (no-shadow) web/viewer.js:576:8 | Expected property shorthand. (object-shorthand) web/viewer.js:596:57 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:618:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:620:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:624:14 | 'PDFOutlineViewer' is already declared in the upper scope. (no-shadow) web/viewer.js:643:8 | Expected property shorthand. (object-shorthand) web/viewer.js:656:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:678:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:755:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:757:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:766:14 | 'PDFSidebar' is already declared in the upper scope. (no-shadow) web/viewer.js:940:68 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:945:62 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:948:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:951:63 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:954:64 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:957:49 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:964:53 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:971:59 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:983:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:985:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1195:7 | Expected property shorthand. (object-shorthand) web/viewer.js:1202:27 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1211:6 | Expected property shorthand. (object-shorthand) web/viewer.js:1212:6 | Expected property shorthand. (object-shorthand) web/viewer.js:1252:47 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1255:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1264:51 | 'localized' is already declared in the upper scope. (no-shadow) web/viewer.js:1269:14 | 'EventBus' is already declared in the upper scope. (no-shadow) web/viewer.js:1295:47 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1306:14 | 'ProgressBar' is already declared in the upper scope. (no-shadow) web/viewer.js:1390:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1392:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1395:41 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1400:41 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1408:46 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1413:39 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1419:38 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1424:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1429:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1436:43 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1442:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1456:46 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1461:47 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1466:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1471:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1476:52 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1484:42 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1502:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1504:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1509:14 | 'HandTool' is already declared in the upper scope. (no-shadow) web/viewer.js:1515:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1516:52 | Expected property shorthand. (object-shorthand) web/viewer.js:1529:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1564:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1566:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1570:14 | 'PasswordPrompt' is already declared in the upper scope. (no-shadow) web/viewer.js:1581:53 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1590:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1601:59 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1622:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1624:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1629:14 | 'PDFDocumentProperties' is already declared in the upper scope. (no-shadow) web/viewer.js:1639:54 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1649:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1670:55 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1677:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1707:8 | Expected no return value. (consistent-return) web/viewer.js:1712:7 | Expected no return value. (consistent-return) web/viewer.js:1754:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1756:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1780:14 | 'PDFFindController' is already declared in the upper scope. (no-shadow) web/viewer.js:1811:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1816:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1821:26 | 'matchesWithLength' is already declared in the upper scope. (no-shadow) web/viewer.js:1845:38 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1933:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1942:18 | 'i' is already declared in the upper scope. (no-shadow) web/viewer.js:1960:42 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:1999:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2114:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2116:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2123:14 | 'PDFPresentationMode' is already declared in the upper scope. (no-shadow) web/viewer.js:2421:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2423:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2446:14 | 'PDFThumbnailView' is already declared in the upper scope. (no-shadow) web/viewer.js:2604:41 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2710:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2712:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2716:14 | 'SecondaryToolbar' is already declared in the upper scope. (no-shadow) web/viewer.js:2823:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2823:52 | 'eventName' is already declared in the upper scope. (no-shadow) web/viewer.js:2823:63 | 'close' is already declared in the upper scope. (no-shadow) web/viewer.js:2835:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2889:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2891:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2904:14 | 'Toolbar' is already declared in the upper scope. (no-shadow) web/viewer.js:2914:6 | Expected method shorthand. (object-shorthand) web/viewer.js:2914:29 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2919:6 | Expected method shorthand. (object-shorthand) web/viewer.js:2919:29 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2924:6 | Expected method shorthand. (object-shorthand) web/viewer.js:2924:28 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2929:6 | Expected method shorthand. (object-shorthand) web/viewer.js:2929:21 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2942:56 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2945:52 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2948:54 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2951:55 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2954:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2957:59 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2963:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2972:70 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2975:56 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2978:53 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:2981:56 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3024:64 | Expected property shorthand. (object-shorthand) web/viewer.js:3031:9 | Expected property shorthand. (object-shorthand) web/viewer.js:3032:9 | Expected property shorthand. (object-shorthand) web/viewer.js:3054:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3071:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3073:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3077:14 | 'PDFFindBar' is already declared in the upper scope. (no-shadow) web/viewer.js:3095:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3098:55 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3101:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3113:64 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3116:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3119:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3122:59 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3133:8 | Expected property shorthand. (object-shorthand) web/viewer.js:3172:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3172:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3213:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3215:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3270:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3313:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3509:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3511:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3518:14 | 'PDFLinkService' is already declared in the upper scope. (no-shadow) web/viewer.js:3551:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3567:10 | Expected property shorthand. (object-shorthand) web/viewer.js:3572:11 | Expected property shorthand. (object-shorthand) web/viewer.js:3578:61 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3581:26 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3593:39 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3649:10 | Unexpected if as the only statement in an else block. (no-lonely-if) web/viewer.js:3745:8 | Expected property shorthand. (object-shorthand) web/viewer.js:3810:14 | 'SimpleLinkService' is already declared in the upper scope. (no-shadow) web/viewer.js:3818:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3818:26 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3820:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3820:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3823:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3823:28 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3826:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3826:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3828:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3828:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3830:6 | Expected method shorthand. (object-shorthand) web/viewer.js:3830:28 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3838:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3840:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:3850:14 | 'PDFPageView' is already declared in the upper scope. (no-shadow) web/viewer.js:4079:11 | 'viewport' is assigned a value but never used. (no-unused-vars) web/viewer.js:4107:42 | 'renderContinueCallback' is already declared in the upper scope. (no-shadow) web/viewer.js:4159:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4160:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4168:18 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4183:6 | Expected method shorthand. (object-shorthand) web/viewer.js:4183:29 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4185:41 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4190:8 | Expected property shorthand. (object-shorthand) web/viewer.js:4191:8 | Expected method shorthand. (object-shorthand) web/viewer.js:4191:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4194:8 | Expected method shorthand. (object-shorthand) web/viewer.js:4194:24 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4198:11 | 'self' is assigned a value but never used. (no-unused-vars) web/viewer.js:4199:11 | 'pdfPage' is assigned a value but never used. (no-unused-vars) web/viewer.js:4205:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4252:8 | Expected property shorthand. (object-shorthand) web/viewer.js:4257:39 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4277:8 | Expected method shorthand. (object-shorthand) web/viewer.js:4277:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4279:8 | Expected method shorthand. (object-shorthand) web/viewer.js:4279:24 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4296:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4298:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4305:14 | 'PDFThumbnailViewer' is already declared in the upper scope. (no-shadow) web/viewer.js:4375:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4424:71 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4432:6 | Expected method shorthand. (object-shorthand) web/viewer.js:4432:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4436:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4448:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4450:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4451:8 | 'EXPAND_DIVS_TIMEOUT' is assigned a value but never used. (no-unused-vars) web/viewer.js:4453:14 | 'TextLayerBuilder' is already declared in the upper scope. (no-shadow) web/viewer.js:4494:8 | Expected property shorthand. (object-shorthand) web/viewer.js:4497:53 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4501:29 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4660:11 | 'expandDivsTimer' is assigned a value but never used. (no-unused-vars) web/viewer.js:4661:49 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4672:47 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4690:5 | Expected method shorthand. (object-shorthand) web/viewer.js:4690:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4692:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4693:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4694:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4695:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4702:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4704:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4708:14 | 'AnnotationLayerBuilder' is already declared in the upper scope. (no-shadow) web/viewer.js:4720:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4723:9 | Expected property shorthand. (object-shorthand) web/viewer.js:4725:9 | Expected property shorthand. (object-shorthand) web/viewer.js:4760:5 | Expected method shorthand. (object-shorthand) web/viewer.js:4760:43 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4762:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4763:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4764:7 | Expected property shorthand. (object-shorthand) web/viewer.js:4772:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4774:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4812:28 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4828:14 | 'PDFViewer' is already declared in the upper scope. (no-shadow) web/viewer.js:4856:6 | Expected method shorthand. (object-shorthand) web/viewer.js:4856:27 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4956:6 | Expected method shorthand. (object-shorthand) web/viewer.js:4956:27 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4968:46 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4972:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4976:9 | Expected property shorthand. (object-shorthand) web/viewer.js:4981:49 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4985:46 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:4998:7 | Expected no return value. (consistent-return) web/viewer.js:4998:44 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5010:10 | Expected property shorthand. (object-shorthand) web/viewer.js:5013:10 | Expected property shorthand. (object-shorthand) web/viewer.js:5023:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5026:19 | 'pageNum' is already declared in the upper scope. (no-shadow) web/viewer.js:5027:53 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5027:55 | 'pageNum' is already declared in the upper scope. (no-shadow) web/viewer.js:5027:64 | 'pdfPage' is already declared in the upper scope. (no-shadow) web/viewer.js:5028:16 | 'pageView' is already declared in the upper scope. (no-shadow) web/viewer.js:5070:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5070:26 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5174:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5174:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5266:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5267:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5270:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5270:31 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5284:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5288:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5324:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5324:31 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5327:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5327:21 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5339:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5339:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5355:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5355:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5369:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5369:36 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5377:71 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5385:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5385:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5389:57 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5396:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5396:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5397:67 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5401:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5401:38 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5403:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5405:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5406:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5411:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5411:44 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5413:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5414:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5415:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5420:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5420:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5423:6 | Expected method shorthand. (object-shorthand) web/viewer.js:5423:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5424:38 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5438:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5440:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5447:8 | 'noContextMenuHandler' is assigned a value but never used. (no-unused-vars) web/viewer.js:5486:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5486:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5488:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5488:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5490:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5490:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5492:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5492:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5494:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5494:36 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5552:50 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5554:22 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5563:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5563:31 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5630:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5633:5 | Expected method shorthand. (object-shorthand) web/viewer.js:5633:42 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5636:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5642:49 | Expected property shorthand. (object-shorthand) web/viewer.js:5649:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5650:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5651:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5654:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5670:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5674:58 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5680:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5697:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5698:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5705:9 | Expected property shorthand. (object-shorthand) web/viewer.js:5706:9 | Expected property shorthand. (object-shorthand) web/viewer.js:5708:9 | Expected property shorthand. (object-shorthand) web/viewer.js:5715:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5720:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5721:8 | Expected property shorthand. (object-shorthand) web/viewer.js:5795:7 | Expected method shorthand. (object-shorthand) web/viewer.js:5795:36 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5801:7 | Expected method shorthand. (object-shorthand) web/viewer.js:5801:31 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5804:7 | Expected method shorthand. (object-shorthand) web/viewer.js:5804:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5807:18 | Expected property shorthand. (object-shorthand) web/viewer.js:5812:10 | Expected property shorthand. (object-shorthand) web/viewer.js:5817:7 | Expected method shorthand. (object-shorthand) web/viewer.js:5817:24 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5820:7 | Expected method shorthand. (object-shorthand) web/viewer.js:5820:27 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5870:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5921:24 | Expected property shorthand. (object-shorthand) web/viewer.js:5933:40 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:5955:7 | Expected property shorthand. (object-shorthand) web/viewer.js:5995:68 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6007:73 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6027:36 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6028:38 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6061:9 | Expected property shorthand. (object-shorthand) web/viewer.js:6062:9 | Expected property shorthand. (object-shorthand) web/viewer.js:6070:36 | Expected property shorthand. (object-shorthand) web/viewer.js:6085:47 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6105:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6107:49 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6116:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6128:22 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6129:45 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6130:39 | Expected property shorthand. (object-shorthand) web/viewer.js:6132:49 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6133:42 | Expected property shorthand. (object-shorthand) web/viewer.js:6136:45 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6187:38 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6195:22 | Do not nest ternary expressions. (no-nested-ternary) web/viewer.js:6200:8 | Expected property shorthand. (object-shorthand) web/viewer.js:6348:8 | 'validateFileURL' is defined but never used. (no-unused-vars) web/viewer.js:6350:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6354:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6359:31 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6441:79 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6446:70 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6449:52 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6451:22 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6456:39 | 'webViewerOpenFileViaURL' is already declared in the upper scope. (no-shadow) web/viewer.js:6481:62 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6484:7 | Expected property shorthand. (object-shorthand) web/viewer.js:6532:60 | Do not nest ternary expressions. (no-nested-ternary) web/viewer.js:6540:43 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6541:53 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6548:44 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6555:24 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6589:8 | 'webViewerFileInputChange' is defined but never used. (no-unused-vars) web/viewer.js:6716:47 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6781:27 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6949:6 | Expected method shorthand. (object-shorthand) web/viewer.js:6949:34 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6958:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6960:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6974:39 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6980:51 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6995:22 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:6997:17 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7013:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7013:21 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7022:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7022:22 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7032:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7032:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7038:12 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7040:19 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7045:6 | Expected method shorthand. (object-shorthand) web/viewer.js:7045:27 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7050:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7051:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7059:6 | Expected method shorthand. (object-shorthand) web/viewer.js:7059:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7073:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7074:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7083:14 | 'DownloadManager' is already declared in the upper scope. (no-shadow) web/viewer.js:7089:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7095:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7097:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7104:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7106:8 | Expected property shorthand. (object-shorthand) web/viewer.js:7117:42 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7118:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7122:43 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7123:32 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7124:60 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7137:31 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7161:6 | Expected property shorthand. (object-shorthand) web/viewer.js:7162:6 | Expected property shorthand. (object-shorthand) web/viewer.js:7169:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7169:37 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7172:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7172:33 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7211:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7211:23 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7214:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7214:30 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7217:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7217:36 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7238:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7238:24 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7241:5 | Expected method shorthand. (object-shorthand) web/viewer.js:7241:25 | Unexpected space before function parentheses. (space-before-function-paren) web/viewer.js:7250:1 | Block is redundant. (no-lone-blocks) web/viewer.js:7371:2 | Newline required at end of file but not found. (eol-last)

yurydelendik commented 7 years ago

We can do it in several steps:

Snuffleupagus commented 7 years ago

First of all, please note that PDF.js is already using ESLint, but with it's own set of rules, see https://github.com/mozilla/pdf.js/blob/master/.eslintrc.

Given that PDF.js isn't yet, for backwards compatibility reasons, using ES6 I'm however not entirely certain if all the rules mentioned in https://github.com/mozilla/pdf.js/issues/7957#issue-200649442 could actually be applied at this point. Also, when switching to ESLint in PR #7897 (and PR #7890), there were a number of rules that I purposely didn't enable. The reason was that I wanted to avoid changing the blame too much.

Furthermore, with the uncertain future of PDF.js in Firefox (i.e. Project Mortar), I'm not sure how much value there is in forcing PDF.js to conforming to the Firefox ESLint conventions.

Finally it's perhaps worth mentioning that the PDF.js files as they exist in mozilla-central are built from the source files using Esprima/Escodegen (see PR #7322), whereas we run linting on the source files themselves. I.e. even if we fix various linting issues in the source files, that could potentially not affect the built files the same way. Edit: One example of this is eol-last, which we enforce in the source files, but it's currently being stripped by the preprocessor. Another example is no-lone-blocks, where the lint errors are not present in the source files.

rvandermeulen commented 7 years ago

Bah, since I filed this bug, the "Strings must use doublequote." rule was also added to m-c. https://treeherder.mozilla.org/logviewer.html#?job_id=71290316&repo=try

Snuffleupagus commented 7 years ago

Bah, since I filed this bug, the "Strings must use doublequote." rule was also added to m-c. https://treeherder.mozilla.org/logviewer.html#?job_id=71290316&repo=try

@rvandermeulen Unless I overlooked something in the log, I think that all failures listed should now be addressed. With the next PDF.js update, please try these changes again: https://hg.mozilla.org/try/diff/16da20d4769c/.eslintignore. If there's still any issues, or if a new rule has been enabled in the meantime, please do let me and I'll try to help with fixing the problem.

timvandermeij commented 7 years ago

Is there anything else we need to do here or can we close this? In the meantime, we also landed a patch to apply the no-unused-vars rule like mozilla-central does.

Snuffleupagus commented 7 years ago

Is there anything else we need to do here or can we close this? In the meantime, we also landed a patch to apply the no-unused-vars rule like mozilla-central does.

I think we should keep it open, since one of the remaining points in https://github.com/mozilla/pdf.js/issues/7957#issuecomment-272467569 mention rules that we can realistically only enable once we move the code to ES6; note that this issue is currently part of the "ES6 modules" project.

The only rule that we've not yet enforced, outside of the /extensions/firefox/ directory, is no-nested-ternary. Even though, in general, that rule often creates more readable code, there are exceptions: We make fairly heavy use of nested ternary statements in the image handling code, see one such example here, and enforcing that rule would create very messy code.[1] So as discussed on IRC, see http://logs.glob.uno/?c=mozilla%23pdfjs&s=27+Jan+2017&e=27+Jan+2017#c56420 and below, we decided to hold off on enabling no-nested-ternary for now.


[1] And based on the discussion starting at http://logs.glob.uno/?c=mozilla%23pdfjs&s=2+Dec+2016&e=2+Dec+2016#c54738, we probably don't want to convert those cases to e.g. use a utility function or Math.{min, max} instead. However, a better way to handle that might be to make use of Uint8ClampedArray in the image handling code, since that removes the need for those nested ternary statements. Note that this was discussed in #4901 (and I've successfully implemented it locally), the only issue is that we'd need to polyfill it and thus it may be simpler to wait until ES6 becomes a requirement in the code (or we explicitly remove support for older versions of Internet Explorer, whatever comes first).

timvandermeij commented 7 years ago

@rvandermeulen Is it possible to get a new list for the current master branch? Recently we landed a lot of ESLint changes and it would be interesting to see if we can address more on the PDF.js side.

@Snuffleupagus Just a note: it is possible to make use of Babel's polyfills, and I just saw that there appears to be a UInt8ClampedArray polyfill in it: https://github.com/zloirock/core-js#ecmascript-6-typed-arrays. Therefore, it is related to #8464. If we can get that working, the polyfill should be present automatically.

rvandermeulen commented 7 years ago

There's a ridiculous number of "Strings must use doublequote" failures (like pushing 20,000). It's hard to find the rest in the log, TBH, but here's a link if you want to take a closer look: https://public-artifacts.taskcluster.net/eV-dtb76TCCa_y1AsE_CLw/0/public/logs/live_backing.log

SamyCookie commented 7 years ago

Some stats on the log below if it can help:

quotes (19758) space-before-function-paren (498) spaced-comment (379) no-shadow (364) no-useless-concat (96) no-nested-ternary (71) object-shorthand (64) consistent-return (25) no-undef (18) no-extra-semi (17) complexity (15) no-unused-vars (14) keyword-spacing (12) no-lonely-if (4) no-lone-blocks (6) no-unexpected-multiline (3) func-call-spacing (3) eol-last (3) block-spacing (2) no-eval (2) no-labels (2) no-cond-assign (1) no-useless-return (1)

timvandermeij commented 7 years ago

Thank you for providing this! It's really helpful. Perhaps we can fix more of them on our side now that we know what's left.

Snuffleupagus commented 7 years ago

Perhaps we can fix more of them on our side now that we know what's left.

With the exception of the quotes rule, most remaining ESLint rules are already enforced in our ESLint config here on GitHub! However, since the MOZCENTRAL files are built from sources, we have limited control over the exact formatting of the output. (Hence why linting is disabled for the build/ and web/ folders in mozilla-central.)

yurydelendik commented 7 years ago

I wonder how powerful eslint's fix mode. Since we are not using source maps with MOZCENTRAL code, we can run eslint --fix to make code m-c friendly (during build step).

Snuffleupagus commented 7 years ago

I wonder how powerful eslint's fix mode. Since we are not using source maps with MOZCENTRAL code, we can run eslint --fix to make code m-c friendly (during build step).

That's an interesting idea; but given that no-one ought to be editing PDF.js code directly in mozilla-central anyway, I'm not sure if it's worth the trouble!?

timvandermeij commented 6 years ago

Closing since the extension code is removed from our repository. I think everything that needed to be fixed here is done on our side and any other transformations should now happen on mozilla-central. If there are still problems that need to be addressed in this repository, please open a dedicated issue for them, since it's not really clear here anymore what's left (if anything). Thank you!