Skip to content

Commit c5c1755

Browse files
committed
fix: errors related to new linting rules
1 parent 9a8c146 commit c5c1755

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

packages/instrument-bundler/src/parse.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,11 @@ export function parseImports(code: string): Iterable<Import> {
313313
return {
314314
*[Symbol.iterator]() {
315315
for (let {
316+
// eslint-disable-next-line prefer-const
316317
dynamicImportStartIndex,
317318
moduleSpecifierEndIndexExclusive,
318319
moduleSpecifierStartIndex,
320+
// eslint-disable-next-line prefer-const
319321
statementStartIndex
320322
} of imports) {
321323
const isImportMeta = dynamicImportStartIndex === -2;

packages/instrument-bundler/src/vendor/esbuild.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable no-var */
2+
13
if (typeof window === 'undefined') {
24
var { build, transform } = await import('esbuild');
35
} else {

0 commit comments

Comments
 (0)