0.2.1 • Published 6 years ago

danger-plugin-dangerfile-builder v0.2.1

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

danger-plugin-dangerfile-builder

Dangerfile Builder is a Danger JS plugin containing a set of common validations and utilities, build to make it easy to start using Danger JS.

Build Status SonarCloud Coverage npm version Greenkeeper badge

Installation

npm install danger-plugin-dangerfile-builder --save-dev

Usage

Edit your dangerfile.js to import the required validations and utilities, and buil the contents using those:

const { warn } = require('danger');
const {
  jsLockfile,
  commonValidJson,
  inCommitGrep,
} require('danger-plugin-dangerfile-builder');

jsLockfile();

commonValidJson();

if (inCommitGrep(/.+\.log$/)) {
  warn('Do not commit log files');
}

Validations and utilities

Find here the documentation of all validations and utilities provided by Dangerfile Builder:

Changelog

See the release history in CHANGELOG.md.

Contributing

To contribute please see CONTRIBUTING.md.

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2-beta.1

6 years ago

0.1.1-beta.0

6 years ago

0.0.2-beta.0

6 years ago