A Danger plugin to lint files through Pronto
Ruby
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
lib
spec
.gitignore Initial commit Feb 14, 2017
.travis.yml Initial commit Feb 14, 2017
Gemfile Initial commit Feb 14, 2017
Guardfile
LICENSE.txt Initial commit Feb 14, 2017
README.md
Rakefile
danger-pronto.gemspec

README.md

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