Skip to content

Commit

Permalink
Fix linting issues (rrweb-io#1347)
Browse files Browse the repository at this point in the history
* Fix linting issues

* Apply formatting changes
  • Loading branch information
Juice10 authored and jxiwang committed Jul 31, 2024
1 parent 53b18a9 commit 8fa01a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/rrweb/src/record/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1301,9 +1301,13 @@ export function initObservers(
const inputHandler = initInputObserver(o);
const mediaInteractionHandler = initMediaInteractionObserver(o);

// eslint-disable-next-line @typescript-eslint/no-empty-function
let styleSheetObserver = () => {};
// eslint-disable-next-line @typescript-eslint/no-empty-function
let adoptedStyleSheetObserver = () => {};
// eslint-disable-next-line @typescript-eslint/no-empty-function
let styleDeclarationObserver = () => {};
// eslint-disable-next-line @typescript-eslint/no-empty-function
let fontObserver = () => {};
if (o.recordDOM) {
styleSheetObserver = initStyleSheetObserver(o, { win: currentWindow });
Expand Down

0 comments on commit 8fa01a1

Please sign in to comment.