UNPKG

eslint-plugin-path

Version:

An ESLint plugin for enforcing consistent imports across project. In other words, it helps to replace all relatives import with absolutes dependinng on settings.

7 lines 293 B
/** * Package.json directory finder * @param {string} filePath - path to directory where packages.json is located * @returns {string} path to directory where packages.json is located */ export declare function getPackagePath(filePath: string): string; //# sourceMappingURL=package.d.ts.map