UNPKG

@yolkai/nx-workspace

Version:

Extensible Dev Tools for Monorepos

12 lines (11 loc) 484 B
import * as Lint from 'tslint'; import { IOptions } from 'tslint'; import * as ts from 'typescript'; import { ProjectGraph } from '../core/project-graph'; export declare class Rule extends Lint.Rules.AbstractRule { private readonly projectPath?; private readonly npmScope?; private readonly projectGraph?; constructor(options: IOptions, projectPath?: string, npmScope?: string, projectGraph?: ProjectGraph); apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; }