UNPKG

@kcws/lintstaged-config

Version:
36 lines 856 B
import type { IBaseActionOptions, BaseActionFn } from "./_base"; /** * Option for create yamllint command * * @beta */ export interface IYamllintOptions extends IBaseActionOptions { /** yamllint config file; recommend to use absolute path */ config?: string; /** * enabled yamllint strict mode; * Strict means return non-zero code when warning occur */ strict?: boolean; } /** * Default yamllint config path from root repository * * @beta */ export declare const DEFAULT_YAMLLINT_CONFIGS: string[]; /** * create command with input option * * @remarks * * Function type: {@link BaseActionFn} and * Option type: {@link IYamllintOptions} * * @param option - customize option * @returns command * * @beta */ export declare const yamllint: BaseActionFn<IYamllintOptions>; //# sourceMappingURL=yamllint.d.ts.map