Home

Awesome

danger-pronto

License Gem

A Danger plugin for Pronto. Created by the folks at ABODO. By default, only lints added or modified files.

Installation

Add this line to your Gemfile:

gem 'danger-pronto'

Add pronto and runners to your Gemfile:

gem 'pronto'
gem 'pronto-jshint'
gem 'pronto-rubocop'
gem 'pronto-scss'

Usage

Pronto runs the checks on a diff between the current HEAD and the provided commit-ish (default is master). Results are passed out as a table in markdown.

Specifying custom config file.

pronto.lint

Run checks on a diff between the current HEAD and a specified commit

pronto.lint("e757913")

Methods

lint(commit: String)

Runs checks on a diff between the current HEAD and the provided commit-ish (default is master). Generates a markdown list of warnings.

License

MIT