@kcws/lintstaged-config
Version:
kamontat's lintstaged config
25 lines • 540 B
TypeScript
import type { IBaseActionOptions, BaseActionFn } from "./_base";
/**
* Option for create eslint command
*
* @beta
*/
export interface IEslintOptions extends IBaseActionOptions {
fix?: boolean;
maxWarnings?: number;
}
/**
* create command with input option.
*
* @remarks
*
* Function type: {@link BaseActionFn} and
* Option type: {@link IEslintOptions}
*
* @param option - customize option
* @returns command
*
* @beta
*/
export declare const eslint: BaseActionFn<IEslintOptions>;
//# sourceMappingURL=eslint.d.ts.map