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.

11 lines (10 loc) 508 B
import { ProjectFileMap, ProjectGraph } from '@nx/devkit'; import { ProjectRootMappings } from 'nx/src/project-graph/utils/find-project-for-path'; import { TargetProjectLocator } from '@nx/js/src/internal'; export declare function ensureGlobalProjectGraph(ruleName: string): void; export declare function readProjectGraph(ruleName: string): { projectGraph: ProjectGraph; projectFileMap: ProjectFileMap; projectRootMappings: ProjectRootMappings; targetProjectLocator: TargetProjectLocator; };