Custom Rules
const checkPRSize = () => {
if (
danger.github.pr.additions + danger.github.pr.deletions >
BIG_PR_THRESHOLD
) {
warn(`:exclamation: Big PR; over ${BIG_PR_THRESHOLD} changes :sob:`);
markdown(
'> Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.',
);
}
};