@gergelyszerovay/eslint-plugin-path-boundary-imports
Version:
The code is based on https://github.com/qdanik/eslint-plugin-path
20 lines • 721 B
TypeScript
/**
* Check if the path is relative to the parent directory.
* @param path - The path to check.
* @returns True if the path is relative to the parent directory.
*/
export declare function isRelativeToParent(path: string): boolean;
/**
* Check if the given path exists.
* @param path - The path to check.
* @returns True if the path exists.
*/
export declare function isExistingPath(path: string): boolean;
/**
* Check if the path is external.
* @param path - The path to check.
* @param packagePath - The package path to resolve against.
* @returns True if the path is external.
*/
export declare function isExternalPath(path: string, packagePath: string): boolean;
//# sourceMappingURL=import-types.d.ts.map