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

Use Rubocop plugin for CodeClimate. #3200

Closed
wants to merge 1 commit into from
Closed

Use Rubocop plugin for CodeClimate. #3200

wants to merge 1 commit into from

Conversation

simi
Copy link
Member

@simi simi commented Aug 27, 2022

CodeClimate has custom configuration. Currently we lint using Rubocop and code coverage is done using CI CodeCov action. We can give up on CodeClimate at all or try to follow rubocop rules (I'm tryin this in this PR).

@simi simi requested review from sonalkr132 and jenshenny August 27, 2022 21:52
@codecov
Copy link

codecov bot commented Aug 27, 2022

Codecov Report

Merging #3200 (ad480e4) into master (dee7118) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3200   +/-   ##
=======================================
  Coverage   98.18%   98.18%           
=======================================
  Files         110      110           
  Lines        3310     3310           
=======================================
  Hits         3250     3250           
  Misses         60       60           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@simi simi changed the title User Rubocop plugin for CodeClimate. Use Rubocop plugin for CodeClimate. Aug 29, 2022
Copy link
Member

@jenshenny jenshenny left a comment

Choose a reason for hiding this comment

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

I like this change!

@@ -1,17 +1,4 @@
version: "2"
Copy link
Member

Choose a reason for hiding this comment

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

I believe we need to keep the version number here

plugins:
rubocop:
enabled: true
channel: "rubocop-1-23-0"
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to specify the version of rubocop that is run? Or in other words, do you know the default version that is used.

Copy link
Member Author

Choose a reason for hiding this comment

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

some ancient one like 0.49 :-o

Copy link
Member

Choose a reason for hiding this comment

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

😭

@simi
Copy link
Member Author

simi commented Sep 1, 2022

Actually we can remove codeclimate at all if I understand it well now. Codecov is doing its job well and rubocop is being checked at CI.

@deivid-rodriguez
Copy link
Member

I used this for a while but eventually gave up, mainly due to codeclimate/codeclimate-rubocop#93. If we can get rid of codeclimate, I would do it.

@simi
Copy link
Member Author

simi commented Sep 10, 2022

let's remove CC

@simi simi closed this Sep 10, 2022
@simi simi deleted the ruboclimate branch September 10, 2022 20:40
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