katoikia-app/web-ui/web-react/node_modules/fork-ts-checker-webpack-plugin/lib/linterConfigHelpers.d.ts

11 lines
542 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
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;