1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Upgrade eslint-plugin-perfectionist to version 4.2.0

This requires two changes on our side:

- The order of exports in `web/viewer{-geckoview}.js` changes slightly
  because `eslint-plugin-perfectionist` aligned the sorting order with
  the `eslint-plugin-sort-exports` plugin we used before. This restores
  the change from commit 347f155.
- The `eslint-plugin-import` plugin contains a bug that causes the new
  version of `eslint-plugin-perfectionist` to be reported as unresolved.
  This issue is tracked upstream, and since the plugin works fine we
  can simply extend the ignore list we already have to avoid this error
  until the upstream bug is fixed.
This commit is contained in:
Tim van der Meij 2024-12-07 13:34:27 +01:00
parent 7d1ca73acc
commit 129fc66f65
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
5 changed files with 66 additions and 88 deletions

View file

@ -77,7 +77,7 @@ if (
}
export {
PDFViewerApplication,
AppConstants as PDFViewerApplicationConstants,
AppOptions as PDFViewerApplicationOptions,
PDFViewerApplication,
};

View file

@ -275,7 +275,7 @@ if (
}
export {
PDFViewerApplication,
AppConstants as PDFViewerApplicationConstants,
AppOptions as PDFViewerApplicationOptions,
PDFViewerApplication,
};