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

Enable Rubocop #696

Merged
merged 5 commits into from
Aug 19, 2021
Merged

Enable Rubocop #696

merged 5 commits into from
Aug 19, 2021

Conversation

lovro-bikic
Copy link
Member

@lovro-bikic lovro-bikic commented Aug 19, 2021

This PR enables Rubocop again. The old .rubocop.yml was deleted and I ran bundle exec rubocop --auto-gen-config to autogenerate a new TODO config. One by one, I removed cops from the TODO config and fixed offenses where necessary. I also disabled some cops because they don't apply to this project.

Rubocop was also enabled as a required step on CI.

@lovro-bikic lovro-bikic added this to the 1.3.0 milestone Aug 19, 2021
@@ -10,7 +12,7 @@

outfile = './config/deploy.rb'

if File.exists?(outfile)
if File.exist?(outfile)
Copy link
Member Author

Choose a reason for hiding this comment

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

File.exists? is deprecated in favor of File.exist?

Base automatically changed from feature/dsl-tests to master August 19, 2021 13:26
@lovro-bikic lovro-bikic merged commit dce7b67 into master Aug 19, 2021
@lovro-bikic lovro-bikic deleted the feature/enable-rubocop branch August 19, 2021 13:33
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.

2 participants