1 | import { Rule } from '@angular-devkit/schematics';
|
2 | export declare const enum Linter {
|
3 | EsLint = "eslint",
|
4 | None = "none"
|
5 | }
|
6 | export declare function generateProjectLint(projectRoot: string, tsConfigPath: string, linter: Linter, eslintFilePatterns: string[]): {
|
7 | builder: string;
|
8 | options: {
|
9 | lintFilePatterns: string[];
|
10 | };
|
11 | };
|
12 | interface AddLintFileOptions {
|
13 | onlyGlobal?: boolean;
|
14 | localConfig?: any;
|
15 | extraPackageDeps?: {
|
16 | dependencies: {
|
17 | [key: string]: string;
|
18 | };
|
19 | devDependencies: {
|
20 | [key: string]: string;
|
21 | };
|
22 | };
|
23 | setParserOptionsProject?: boolean;
|
24 | }
|
25 | export declare function addLintFiles(projectRoot: string, linter: Linter, options?: AddLintFileOptions): Rule;
|
26 | export {};
|