pdf.js/external
Jonas Jenwald d53093045a Enable the import/no-commonjs ESLint plugin rule
Given the amount of work put into removing `require`-calls from the code-base, let's ensure that new ones aren't accidentally added in the future.

Note that we still have a couple of files where `require` is being used, in particular:
 - The Node.js examples, however those will be updated to use `import` in PR 17081.
 - The Webpack examples, and related support files, however I unfortunately don't know enough about Webpack to be able to update those. (Hopefully users of that code will help out here, once version `4` is released.)
 - The `statcmp`-tool, since *some* of those `require`-calls cannot be converted to `import` without other code changes (and that file is only used during benchmarking).

Please find additional details at https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-commonjs.md
2023-10-14 12:49:17 +02:00
..
bcmaps Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00
builder [GeckoView] Exclude annotation_editor_layer_builder.css in the build (issue 16994) 2023-09-21 15:51:33 +02:00
cmapscompress [ESM] Convert the "cmaps"-task to use import() syntax 2023-07-08 18:52:58 +02:00
dist Enable the import/no-commonjs ESLint plugin rule 2023-10-14 12:49:17 +02:00
importL10n Enable the no-lonely-if ESLint rule 2023-07-21 20:10:44 +02:00
quickjs Update quickjs to revision 2788d71e823b522b178db3b3660ce93689534e6d 2022-05-01 15:53:50 +02:00
standard_fonts [api-minor] Use a local font or fallback on an embedded one (if it exists) for non-embedded fonts (bug 1766039) 2023-05-10 14:10:23 +02:00
webL10n Run the PDF.js-viewer API unit-test in Node.js environments (PR 16592 follow-up) 2023-06-26 09:37:34 +02:00
webpack [ESM] Convert the external/builder/-folder to use standard modules 2023-07-11 11:38:59 +02:00
.eslintrc Enable unicorn/prefer-at unconditionally (PR 15014 follow-up) 2023-05-07 13:43:19 +02:00
.gitignore Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00