Skip to content

RestlessThinker/danger-pronto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Danger plugin to lint files through Pronto

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages