Sha256: 45528bae2dec38da4cce83fb91a99b878d896dc8c8e457f23b1630120f58d7ea

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

# danger-pronto

[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE.txt)
[![Gem](https://img.shields.io/gem/v/danger-pronto.svg?style=flat)](https://rubygems.org/gems/danger-pronto)

A [Danger](https://github.com/danger/danger) plugin for [Pronto](https://github.com/mmozuras/pronto).
Created by the folks at [ABODO](https://www.abodo.com). By default, only lints added or modified files.

## Installation

Add this line to your Gemfile:

```rb
gem 'danger-pronto'
```

Add pronto and runners to your Gemfile:

```rb
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.
```ruby
pronto.lint
```

Run checks on a diff between the current HEAD and a specified commit
```ruby
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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danger-pronto-0.3.2 README.md
danger-pronto-0.3.1 README.md
danger-pronto-0.3.0 README.md