Skip to content

Commit 8f530a4

Browse files
eslint workaround for improper bundle
1 parent 262562f commit 8f530a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/bundle-bug-finder/_prelude.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
/* commonjs etc globals, guarded by `typeof`, eslint analysis fails here: */
1515
/*global define, module */
1616

17+
/* bundler-generated variables from conditional blocks that eslint can't track */
18+
/*global b, w, v2 */
19+
1720
/*eslint no-undef: "error"*/
1821

1922
/* puppeteer globals
2023
45454:11 error Definition for rule '@typescript-eslint/ban-ts-comment' was not found @typescript-eslint/ban-ts-comment*/
21-
24+
2225
/*global NodeFilter, ShadowRoot, Node, IntersectionObserver, Event, DataTransfer, XPathResult, base64Decode */
2326
/*global XMLSerializer, predicateQueryHandler, checkWaitForOptions, MutationObserver, requestAnimationFrame, FileReader */
24-
/*global name, createIterResult, navigator */
27+
/*global name, createIterResult, navigator */

0 commit comments

Comments
 (0)