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:
parent
7d1ca73acc
commit
129fc66f65
5 changed files with 66 additions and 88 deletions
|
@ -77,7 +77,7 @@ if (
|
|||
}
|
||||
|
||||
export {
|
||||
PDFViewerApplication,
|
||||
AppConstants as PDFViewerApplicationConstants,
|
||||
AppOptions as PDFViewerApplicationOptions,
|
||||
PDFViewerApplication,
|
||||
};
|
||||
|
|
|
@ -275,7 +275,7 @@ if (
|
|||
}
|
||||
|
||||
export {
|
||||
PDFViewerApplication,
|
||||
AppConstants as PDFViewerApplicationConstants,
|
||||
AppOptions as PDFViewerApplicationOptions,
|
||||
PDFViewerApplication,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue