UNPKG

dangerjs-wrapper

Version:

Plugin to Apply cultural rules during your CI process.

16 lines (15 loc) 557 B
import { BitBucketCloudDSL, BitBucketServerDSL, DangerUtilsDSL, GitDSL, GitHubDSL, GitLabDSL } from 'danger'; export declare type LogFunction = (message: string) => void; export interface DangerModel { danger: { git?: Partial<GitDSL>; github?: Partial<GitHubDSL>; 'bitbucket_server'?: Partial<BitBucketServerDSL>; 'bitbucket_cloud'?: Partial<BitBucketCloudDSL>; gitlab?: Partial<GitLabDSL>; utils?: Partial<DangerUtilsDSL>; }; message: LogFunction; fail: LogFunction; warn: LogFunction; }