-
Notifications
You must be signed in to change notification settings - Fork 17
Add rubocop linting CI #952
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
Conversation
f5223e8 to
0e769b1
Compare
makes a quicker turnaround on more minor issues, such as indentation.
benrfairless
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this - Only thing I'm curious about is the workflow running 2.7 instead of 2.7.8. If this isn't a major issue, then please push to staging 👍
|
|
||
| - uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: 2.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 2.7.8?
|
|
||
| - uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: 2.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ruby-version: 2.7 | |
| ruby-version: 2.7.8 |
jamezpolley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't give meaningful review on this. There are a bunch of changes to code that don't seem to be directly related to the description.
I assume that these are things that are needed in order to make the linter pass. They seem to be mostly small things - the ones I've seen involve changing a :: to a ., changing which quote marks are used, using a different method to calculate a path etc. I can see that Ben has checked that they work as expected so I assume they're all fine.
I like the idea of having linting done automatically :)
What does this do?
automates lint checking in a GitHub workflow
Why was this needed?
makes a quicker turnaround on more minor issues, such as indentation.