Skip to content

Resolve PDF.js aliases when linting imports - #22099

Merged
calixteman merged 1 commit into
mozilla:masterfrom
calixteman:lint-resolve-pdfjs-aliases
Oct 7, 2026
Merged

calixteman merged 1 commit into
mozilla:masterfrom
calixteman:lint-resolve-pdfjs-aliases

Conversation

@calixteman

Copy link
Copy Markdown
Contributor

Resolve pdfjs/ and pdfjs-lib to check for missing modules and exports, including the invalid DOMCanvasFactory import fixed in PR #22098.

Anchor ignore patterns so relative imports such as ./display_utils.js are checked by import/no-unresolved.

Resolve `pdfjs/` and `pdfjs-lib` to check for missing modules and exports,
including the invalid `DOMCanvasFactory` import fixed in PR mozilla#22098.

Anchor ignore patterns so relative imports such as `./display_utils.js`
are checked by `import/no-unresolved`.
@codecov-commenter

codecov-commenter commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.20%. Comparing base (d0295c9) to head (6869614).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #22099      +/-   ##
==========================================
- Coverage   90.22%   90.20%   -0.02%     
==========================================
  Files         275      275              
  Lines       67837    67837              
==========================================
- Hits        61203    61193      -10     
- Misses       6634     6644      +10     
Flag Coverage Δ
unittestcli 58.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Snuffleupagus Snuffleupagus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me, thanks.

@calixteman
calixteman merged commit 24de17e into mozilla:master Oct 7, 2026
11 checks passed
@calixteman
calixteman deleted the lint-resolve-pdfjs-aliases branch October 7, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants