RuboCop Blue Apron
Blue Apron Style Guide RuboCop extension.
Installation
Add rubocop-blueapron to your Gemfile
gem 'rubocop-blueapron'
Usage
Configure RuboCop to load the extension in .rubocop.yml.
require: rubocop-blueapron
Development
After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
For running the spec files, this project depends on RuboCop's spec helpers. This means that in order to run the specs locally, you need a (shallow) clone of the RuboCop repository:
git clone --depth 1 git://github.com/bbatsov/rubocop.git vendor/rubocopCredits
Based on rubocop-rspec.
License
rubocop-blueapron is MIT licensed. See the accompanying file for
the full text.