@o3r/schematics
Version:
Schematics module of the Otter framework
15 lines • 702 B
TypeScript
import type { ConfigWithOverrides } from 'tiny-editorconfig';
/**
* Wrapper to tiny-editorconfig {@link Parse} function to allow jest mocking
* @see parse
* @param input configuration file content
*/
export declare const editorConfigParse: (input: string) => Promise<ConfigWithOverrides | undefined>;
/**
* Wrapper to tiny-editorconfig {@link resolve} function to allow jest mocking
* @see resolve
* @param configs EditorConfig configurations
* @param filePath Path to the file to lint
*/
export declare const editorConfigResolve: (configs: ConfigWithOverrides[], filePath: string) => Promise<import("tiny-editorconfig").Config | undefined>;
//# sourceMappingURL=editor-config.helpers.d.ts.map