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

fix rubocop errors on testing with Rubocop 0.44 #5489

Merged
merged 1 commit into from
Oct 18, 2016

Conversation

ashmaroli
Copy link
Member

Rubocop 0.44 introduced a new cop called Metrics/BlockLength that excludes spec files and rakefiles by default. This PR excludes our minitest files as well.
Also excludes 2 other files that got caught in this job.

  • have the new Metrics/BlockLength cop ignore test files and
    jekyll/configuration.rb
  • have AllCops ignore Jekyll Executable which is not going to be
    altered in the near future.

  - have the new `Metrics/BlockLength` cop ignore test files and
    `jekyll/configuration.rb`
  - have `AllCops` ignore Jekyll Executable which is not going to be
    altered in the near future.
@parkr parkr added the tests label Oct 18, 2016
@parkr
Copy link
Member

parkr commented Oct 18, 2016

@jekyllbot: merge +dev

@jekyllbot jekyllbot merged commit 7c901ba into jekyll:master Oct 18, 2016
jekyllbot added a commit that referenced this pull request Oct 18, 2016
@pathawks
Copy link
Member

I wonder if @jekyllbot could notice Rubocop errors and maybe try to automatically fix them.

@ashmaroli ashmaroli deleted the rubocop-fix branch October 18, 2016 17:08
@ashmaroli
Copy link
Member Author

I wonder if @jekyllbot could notice Rubocop errors and maybe try to automatically fix them.

or.. we could have a conservative version-lock for Rubocop gem in our Gemfile..

@jekyll jekyll locked and limited conversation to collaborators Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants