UNPKG

@nx/eslint-plugin

Version:

The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.

13 lines (12 loc) 449 B
import { ProjectGraphProjectNode } from '@nx/devkit'; /** * * @param importScope like `@myorg/somelib` * @returns */ export declare function getBarrelEntryPointByImportScope(importScope: string): string[]; export declare function getBarrelEntryPointProjectNode(projectNode: ProjectGraphProjectNode): { path: string; importScope: string; }[] | null; export declare function getRelativeImportPath(exportedMember: any, filePath: any): any;