Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the
import/no-restricted-paths
ESLint plugin rule for the vi…
…ewer Code in the `web/` folder cannot import directly from the `src/` folder, since that could result in most (or all) main-thread code being bundled into the viewer, and must rather be imported via the `pdfjs-lib` alias. Let's use ESLint to help enforce this, please find additional details in https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-restricted-paths.md
- Loading branch information