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

Fixed errors due to rubocop 0.81 update #64

Closed
wants to merge 1 commit into from
Closed

Fixed errors due to rubocop 0.81 update #64

wants to merge 1 commit into from

Conversation

ikraamg
Copy link
Member

@ikraamg ikraamg commented Apr 7, 2020

The new version of Rubocop requires new cops to be explicitly set to true or false.

image

Many students are having trouble due to stickler having updated their Rubocop version to 0.81.

I propose one or both changes: Setting all cops to "DisabledByDefault: true", and/or setting the highlighted new cops above to true or false (I have made them true in this file)

The new version of Rubocop requires new cops to be explicitly set to true or false. 

![image](https://user-images.githubusercontent.com/34813339/78646479-62cb6080-78b9-11ea-8bc2-222d8fe90eb2.png)


I have set all the new ones to true in these changes. Many students are having trouble due to [stickler](https://stickler-ci.com/docs#ruby) having updated their Rubocop version to 0.81.

I propose 1 or 2 or both changes: Setting all cops to "DisabledByDefault: true", and/or setting the highlighted new cops above to true or false (I have made them true in this file)
@kubilaycaglayan
Copy link
Member

This is a problem that we encountered in our project with @ikraamg
With all my respect...

@ikraamg
Copy link
Member Author

ikraamg commented Apr 7, 2020

I saw that a pull request for this fix was already requested. Apologies for the duplicate. I will close this for now.

@ikraamg ikraamg closed this Apr 7, 2020
@MauricioRobayo
Copy link
Contributor

The fix has been merged: #63.

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.

None yet

3 participants