0.01
No commit activity in last 3 years
No release in over 3 years
A Danger plugin to lint files through Pronto.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 2.14
= 3.0.7
>= 0
~> 10.0
~> 3.4
~> 0.48.1
~> 0.9.11

Runtime

 Project Readme

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