Skip to content

Instantly share code, notes, and snippets.

View erino's full-sized avatar

Erin Raj-Staniland erino

View GitHub Profile
@erino
erino / rubocoper
Last active December 12, 2019 15:53 — forked from deivid-rodriguez/rubocoper
Adds RuboCop to a project, one commit per cop
#!/usr/bin/env ruby
require 'open3'
#
# Adds RuboCop to a project, one cop per commit
#
class RuboCoper
FILES_AND_DIRECTORIES = "app config Gemfile lib spec test".freeze
BIN = "bundle exec govuk-lint-ruby".freeze