8000 GitHub - irfanahmadein/danger-pronto: A Danger plugin to lint files through Pronto · GitHub
[go: up one dir, main page]

Skip to content

About

A Danger plugin to lint files through Pronto

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

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

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

About

A Danger plugin to lint files through Pronto

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0