1 | import * as Lint from 'tslint';
|
2 | import { IOptions } from 'tslint';
|
3 | import * as ts from 'typescript';
|
4 | import type { NxJsonConfiguration } from '@nrwl/devkit';
|
5 | import { MappedProjectGraph } from '../utils/runtime-lint-utils';
|
6 | import { TargetProjectLocator } from 'nx/src/utils/target-project-locator';
|
7 | export declare class Rule extends Lint.Rules.AbstractRule {
|
8 | private readonly projectPath?;
|
9 | private readonly projectGraph?;
|
10 | private readonly targetProjectLocator?;
|
11 | private readonly workspaceLayout?;
|
12 | constructor(options: IOptions, projectPath?: string, projectGraph?: MappedProjectGraph, targetProjectLocator?: TargetProjectLocator, workspaceLayout?: NxJsonConfiguration['workspaceLayout']);
|
13 | apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
|
14 | }
|