@buurman-tasks/lint-staged
Version:
Buurman task for husky - Lint files staged by git
10 lines • 381 B
TypeScript
import { Task, TaskOptions } from "@buurman/sdk";
export interface LintStagedOptions extends TaskOptions {
}
export interface LintStagedTask extends Task<LintStagedOptions> {
hasLinters(): Promise<boolean>;
addLinter(pattern: string, commands: string[]): Promise<void>;
}
declare const task: LintStagedTask;
export default task;
//# sourceMappingURL=index.d.ts.map