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.

11 lines
542 B

4 years ago
import { Configuration } from 'tslint';
import * as minimatch from 'minimatch';
export interface ConfigurationFile extends Configuration.IConfigurationFile {
linterOptions?: {
typeCheck?: boolean;
exclude?: string[];
};
}
export declare function loadLinterConfig(configFile: string): ConfigurationFile;
export declare function makeGetLinterConfig(linterConfigs: Record<string, ConfigurationFile | undefined>, linterExclusions: minimatch.IMinimatch[], context: string): (file: string) => ConfigurationFile | undefined;