mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Enable import/extensions of ESlint plugin to enforce all import
have a .js
file extension.
Related to #11465. - https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
This commit is contained in:
parent
40f531ee87
commit
00ce7898a2
4 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import "../extensions/firefox/tools/l10n";
|
||||
import "../extensions/firefox/tools/l10n.js";
|
||||
import { createObjectURL, PDFDataRangeTransport, shadow } from "pdfjs-lib";
|
||||
import { BasePreferences } from "./preferences.js";
|
||||
import { DEFAULT_SCALE_VALUE } from "./ui_utils.js";
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import "../external/webL10n/l10n";
|
||||
import "../external/webL10n/l10n.js";
|
||||
|
||||
const webL10n = document.webL10n;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue