-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run c5-conventions/rubocop on this project
Problem ------- Shouldn't we eat our own dog food? This repo was way out of sync with our current rubocop conventions. Solution -------- Bring it up to speed. Because we don't have `rubocop` in the project, this can be seen as a one-time cleanup. We can decide later if we want it more persistent. But for now I did the following: * Copy `.rubocop.yml` from `carbonfive/c5-conventions` ```bash curl https://raw.githubusercontent.com/carbonfive/c5-conventions/master/rubocop/rubocop.yml > .rubocop.yml ``` * Locally add `rubocop` and `rubocop-performance` gems ```bash gem install rubocop gem install rubocop-performance ``` * run it ```bash rubocop -a ```
- Loading branch information
Jon Rogers
committed
Jan 24, 2020
1 parent
e352410
commit 7c0aeca
Showing
6 changed files
with
105 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in raygun.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
require 'bundler/gem_tasks' | ||
require "bundler/gem_tasks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.