Skip to content

Add Rubocop to Github CI#117

Open
chriszimmerman wants to merge 12 commits intomainfrom
SA-113-rubocop
Open

Add Rubocop to Github CI#117
chriszimmerman wants to merge 12 commits intomainfrom
SA-113-rubocop

Conversation

@chriszimmerman
Copy link
Copy Markdown
Collaborator

For issue #113

I added some Ignore rules just to get the Rubocop config file in place - we can tighten these restrictions as we work on things.

There are a number of manual changes I had to do in order to satisfy some of the rules - I wouldn't mind some eyes on those changes to make sure I didn't break anything. I'm mostly leaning on unit tests and CI here.

breeds = [ 'Labrador', 'Poodle', 'German Shepherd', 'Golden Retriever', 'Pug' ]
weights = [ 'Small', 'Medium', 'Large' ]
sexs = [ 'Male', 'Female' ]
names = %w[Bella Buddy Buster Cali Charlie Max Oliver Oscar Penny Riley Shadow
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

Comment thread Gemfile
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.0.2"
ruby '3.0.2'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally like to minimize the number of diffs when we're introducing rubocop to a repo at first. If we want to go with single quotes, we can create a PR afterwards that introduces that single rule change so that reviewing the diff is very simple.

Copy link
Copy Markdown
Collaborator

@freestylebit freestylebit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants