You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
570 B
22 lines
570 B
7 years ago
|
/* tslint:disable:max-classes-per-file variable-name */
|
||
|
declare module "eslint" {
|
||
|
interface IMessage {
|
||
|
readonly column: any;
|
||
|
readonly fatal: boolean;
|
||
|
readonly line: any;
|
||
|
readonly lineId: any;
|
||
|
readonly message: any;
|
||
|
readonly ruleId: any;
|
||
|
readonly severity: number;
|
||
|
}
|
||
|
|
||
|
interface IResult {
|
||
|
readonly messages: IMessage[];
|
||
|
}
|
||
|
|
||
|
export class CLIEngine {
|
||
|
public constructor(params: { configFile: string });
|
||
|
public executeOnFiles(files: string[]): { results: IResult[] };
|
||
|
}
|
||
|
}
|