eslint-plugin: add tests for no-undeclared-imports + fixes

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-02-04 11:15:52 +01:00
parent 6801eb5780
commit e6d210947e
5 changed files with 209 additions and 4 deletions
@@ -161,7 +161,7 @@ module.exports = {
const modulePath = path.relative(localPkg.dir, filePath);
const expectedType = getExpectedDepType(
localPkg,
localPkg.packageJson,
imp.packageName,
modulePath,
);