danger-pronto
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
Run Files through Pronto. Results are passed out as a table in markdown.
Specifying custom config file.
pronto.lint
Lint specific files in a folder, when they change
public_files = (modified_files + added_files).select { |path| path.include?("/public/") }
pronto.lint public_files
Methods
lint(files: String)
Runs files through Pronto. Generates a markdown
list of warnings.
License
MIT