We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90fb1da commit 9eed55bCopy full SHA for 9eed55b
src/core/importType.js
@@ -23,9 +23,10 @@ export function isAbsolute(name) {
23
24
// path is defined only when a resolver resolves to a non-standard path
25
export function isBuiltIn(name, settings, path) {
26
+ if (path) return false
27
const base = baseModule(name)
28
const extras = (settings && settings['import/core-modules']) || []
- return !path && coreModules[base] || extras.indexOf(base) > -1
29
+ return coreModules[base] || extras.indexOf(base) > -1
30
}
31
32
function isExternalPath(path, name, settings) {
0 commit comments