Skip to content

Miscellaneous cleanup#89

Merged
jgarber623 merged 10 commits into
microformats:masterfrom
jgarber623:miscellaneous-cleanup
Aug 6, 2018
Merged

Miscellaneous cleanup#89
jgarber623 merged 10 commits into
microformats:masterfrom
jgarber623:miscellaneous-cleanup

Conversation

@jgarber623
Copy link
Copy Markdown
Member

This PR continues cleanup work on the gem's code and specs using recommendations from RuboCop as a guide. It also adds the rubocop-rspec gem for linting spec files.

Additional comments posted inline.

Comment thread .rspec
@@ -1,4 +1,3 @@
--color
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is a default option, so no need to include it here.

Comment thread .rubocop
@@ -1,4 +1,3 @@
--display-cop-names
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is a default option, so no need to include it here.

Comment thread .rubocop.yml

RSpec/NestedGroups:
Max: 6

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should revisit these settings down the line, but for now, this should cut down on some of the less useful warnings from rubocop-rspec.

Copy link
Copy Markdown
Collaborator

@dissolve dissolve left a comment

Choose a reason for hiding this comment

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

pretty straight forward, looks good

Copy link
Copy Markdown
Contributor

@veganstraightedge veganstraightedge left a comment

Choose a reason for hiding this comment

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

Seems good to me. :shipit:

@jgarber623 jgarber623 merged commit 2e8c65e into microformats:master Aug 6, 2018
@jgarber623 jgarber623 deleted the miscellaneous-cleanup branch August 6, 2018 19:04
@jgarber623
Copy link
Copy Markdown
Member Author

Thanks, y'all!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants