mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[eslint/imports/no-boundary-crossing] don't allow package tests to import outside of packages (#142166)
This commit is contained in:
parent
3ca18d9fe6
commit
b41a07f85a
9 changed files with 96 additions and 14 deletions
|
@ -13,4 +13,6 @@ export interface PkgInfo {
|
|||
rel: string;
|
||||
/** Absolute path to the package directory */
|
||||
pkgDir: string;
|
||||
/** Is the package a bazel package? If false, then the package is a "synthetic" plugin package */
|
||||
isBazelPackage: boolean;
|
||||
}
|
||||
|
|
|
@ -93,6 +93,7 @@ export class RepoPath {
|
|||
pkgDir,
|
||||
pkgId,
|
||||
rel,
|
||||
isBazelPackage: this.resolver.isBazelPackage(pkgId),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue