mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Enable the import/named
ESLint plugin rule
This would've prevented issue 16512, please see https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/named.md
This commit is contained in:
parent
a43b1246c8
commit
89a17abadf
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
"rules": {
|
||||
// Plugins
|
||||
"import/extensions": ["error", "always", { "ignorePackages": true, }],
|
||||
"import/named": "error",
|
||||
"import/no-unresolved": ["error", {
|
||||
"ignore": ["pdfjs", "pdfjs-lib", "pdfjs-web", "web"]
|
||||
}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue