1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #19353 from Snuffleupagus/ESLint-import/no-restricted-paths

Enable the `import/no-restricted-paths` ESLint plugin rule for the viewer
This commit is contained in:
Jonas Jenwald 2025-01-20 22:28:50 +01:00 committed by GitHub
commit 23dc3ff49f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,6 +91,17 @@ export default [
"import/no-empty-named-blocks": "error",
"import/no-commonjs": "error",
"import/no-mutable-exports": "error",
"import/no-restricted-paths": [
"error",
{
zones: [
{
target: "./web",
from: "./src",
},
],
},
],
"import/no-self-import": "error",
"import/no-unresolved": [
"error",