Sha256: 8d16485693766b408ee88920ddef47ff2e86eec656b5b4eeddf0e8300437b076

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

# danger-rails_best_practices

[![Build Status](https://badgen.net/travis/blooper05/danger-rails_best_practices?icon=travis)](https://travis-ci.com/blooper05/danger-rails_best_practices)
[![Dependency Status](https://api.dependabot.com/badges/status?host=github&repo=blooper05/danger-rails_best_practices)](https://dependabot.com)
[![Maintainability](https://badgen.net/codeclimate/maintainability/blooper05/danger-rails_best_practices?icon=codeclimate)](https://codeclimate.com/github/blooper05/danger-rails_best_practices)
[![Coverage](https://badgen.net/codeclimate/coverage/blooper05/danger-rails_best_practices?icon=codeclimate)](https://codeclimate.com/github/blooper05/danger-rails_best_practices)
[![Version](https://badgen.net/rubygems/v/danger-rails_best_practices?icon=ruby)](https://rubygems.org/gems/danger-rails_best_practices)
[![License](https://badgen.net/github/license/blooper05/danger-rails_best_practices?icon=github)](https://github.com/blooper05/danger-rails_best_practices/blob/master/LICENSE)

A [Danger](https://rubygems.org/gems/danger) plugin for [rails_best_practices](https://rubygems.org/gems/rails_best_practices).

## Installation

    $ gem install danger-rails_best_practices

## Usage

### rails_best_practices

Lints Ruby files via [rails_best_practices](https://rubygems.org/gems/rails_best_practices).
Results are sent as inline comments.

<blockquote>Running rails_best_practices
  <pre>
# Runs rails_best_practices on modified and added files in the PR
rails_best_practices.lint</pre>
</blockquote>

#### Methods

`lint` - Runs Ruby files through rails_best_practices.

## Development

1. Clone this repo
2. Run `bundle install` to setup dependencies.
3. Run `bundle exec rake spec` to run the tests.
4. Use `bundle exec guard` to automatically have tests run as you make changes.
5. Make your changes.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-rails_best_practices-0.1.3 README.md