LaunchCop is built on top of RuboCop. When
you run launchcop
, it actually just runs RuboCop, but with our configuration.
The goal is to eventually have a configuration that helps beginners learn best
practices without driving them crazy.
gem install launchcop
Run launchcop
exactly the same as you would run Rubocop. The only difference
is that it's going to use our default configuration.
- Fork it ( https://github.com/LaunchAcademy/LaunchCop/fork )
- 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
) - Create a new Pull Request
Props to thoughtbot and their style guide. The rubocop.yml
file in this
repository was mostly copied from their
Hound project.