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:
Jonas Jenwald 2023-06-02 13:22:26 +02:00
parent a43b1246c8
commit 89a17abadf

View File

@ -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"]
}],