Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Rubocop #23

Merged
merged 1 commit into from
Oct 25, 2017
Merged

add Rubocop #23

merged 1 commit into from
Oct 25, 2017

Conversation

jekyllbot
Copy link
Contributor

PR automatically created for @DirtyF.

add Rubocop

Copy link
Member

@pathawks pathawks left a comment

Choose a reason for hiding this comment

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

Good call 👍

@DirtyF DirtyF force-pushed the pull/rubocop branch 2 times, most recently from 7e23906 to 17ef81b Compare October 25, 2017 16:20
Gemfile Outdated
gems.concat config["gems"] if config.include? "gems"
gems.concat config["plugins"] if config.include? "plugins"
gems << "pygments.rb" if config["highlighter"] == "pygments"
gems << "rubocop"
Copy link
Member

@DirtyF DirtyF Oct 25, 2017

Choose a reason for hiding this comment

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

Is this the right way to add the gem? Travis is failing 😕

Copy link
Member

Choose a reason for hiding this comment

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

No, this block is only evaluated if jekyll is cloned. Add gem “rubocop” above if Dir.exist

.rubocop.yml Outdated
@@ -1,12 +1,7 @@
inherit_gem:
jekyll: .rubocop.yml

Metrics/LineLength:
AllCops:
TargetRubyVersion: 2.4
Copy link
Member

Choose a reason for hiding this comment

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

This should be the lowest version we support.


Style/FileName:
Enabled: false
- jekyll/**/*
Copy link
Member

Choose a reason for hiding this comment

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

Exclude vendor/**/* too

Gemfile Outdated
gems.concat config["gems"] if config.include? "gems"
gems.concat config["plugins"] if config.include? "plugins"
gems << "pygments.rb" if config["highlighter"] == "pygments"
gems << "rubocop"
Copy link
Member

Choose a reason for hiding this comment

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

No, this block is only evaluated if jekyll is cloned. Add gem “rubocop” above if Dir.exist

@DirtyF
Copy link
Member

DirtyF commented Oct 25, 2017

Build is passing now. Thanks for the review @parkr

@DirtyF
Copy link
Member

DirtyF commented Oct 25, 2017

@jekyllbot: merge +dev

@jekyllbot jekyllbot merged commit 1f6de2a into master Oct 25, 2017
@jekyllbot jekyllbot deleted the pull/rubocop branch October 25, 2017 16:52
jekyllbot added a commit that referenced this pull request Oct 25, 2017
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.

4 participants