Masking: Avoid the repeated calls to closest
when recursing through the DOM
#1327
ESLint Report Analysis
0 ESLint error(s) and 11 ESLint warning(s) found in pull request changed files.
0 ESLint error(s) and 39 ESLint warning(s) found in files outside of the pull request.
Details
Annotations
Check warning on line 255 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L255
[@typescript-eslint/no-unused-vars] '_value' is defined but never used.
Check warning on line 404 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L404
[@typescript-eslint/no-unused-vars] 'isStylesheetLoaded' is defined but never used.
Check warning on line 569 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L569
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 658 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L658
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 658 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L658
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 752 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L752
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 753 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L753
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 754 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L754
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 755 in packages/rrweb-snapshot/src/snapshot.ts
github-actions / ESLint Report Analysis
packages/rrweb-snapshot/src/snapshot.ts#L755
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 348 in packages/rrweb/src/record/mutation.ts
github-actions / ESLint Report Analysis
packages/rrweb/src/record/mutation.ts#L348
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
Check warning on line 354 in packages/rrweb/src/record/mutation.ts
github-actions / ESLint Report Analysis
packages/rrweb/src/record/mutation.ts#L354
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.