eslint-plugin: add tests for no-undeclared-imports + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -161,7 +161,7 @@ module.exports = {
|
||||
|
||||
const modulePath = path.relative(localPkg.dir, filePath);
|
||||
const expectedType = getExpectedDepType(
|
||||
localPkg,
|
||||
localPkg.packageJson,
|
||||
imp.packageName,
|
||||
modulePath,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user