Merge pull request #16514 from Snuffleupagus/eslint-import-named
Enable the `import/named` ESLint plugin rule
This commit is contained in:
commit
0023c4a511
@ -33,6 +33,7 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
// Plugins
|
// Plugins
|
||||||
"import/extensions": ["error", "always", { "ignorePackages": true, }],
|
"import/extensions": ["error", "always", { "ignorePackages": true, }],
|
||||||
|
"import/named": "error",
|
||||||
"import/no-unresolved": ["error", {
|
"import/no-unresolved": ["error", {
|
||||||
"ignore": ["pdfjs", "pdfjs-lib", "pdfjs-web", "web"]
|
"ignore": ["pdfjs", "pdfjs-lib", "pdfjs-web", "web"]
|
||||||
}],
|
}],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user