vkoves / carpe

Scheduling for the modern age - an UNMAINTAINED indigoBox project
http://carpe-uno.herokuapp.com
0 stars 0 forks source link

Add ERB Lint and Switch all HTML Files to Spaces #392

Closed vkoves closed 5 years ago

vkoves commented 5 years ago

Description

This adds erb-lint to our CI, documents it in the README, and fixes all errors.

Resolves #363.

Type of Pull Request

Based on the contributor's guide, this PR is of type:

Requestor Checklist

Requestor: Put an x in all that apply. You can check boxes after the PR has been made.

Reviewer: If you see an item that is not checked that you believe should be, comment on that as part of your review.

How This Has Been Tested

Tested locally by running:

bundle exec erblint --lint-all
vkoves commented 5 years ago

Tip: This is 95% just white space changes, even if it looks huge. I'd recommend actually skimming through all the changes once, then disable whitespace in the GitHub diff to see what I actually changed.

Watercycle commented 5 years ago

@vkoves Did you convert these manually or with a formatter? The latter is much quicker to approve 😋

vkoves commented 5 years ago

@Watercycle - it was manual, but if you filter out whitespace changes, you'll see the code didn't change