Skip to content

Conversation

jduss4
Copy link
Contributor

@jduss4 jduss4 commented Nov 1, 2021

NOTE: this PR goes into the rspec branch because I didn't want to lint the old tests, although it wouldn't be hard to switch things out whichever way you decide

I decided to throw in a linter (https://github.com/testdouble/standard). You can run it with bundle exec standardrb. I split up the commits into two: 1 stuff that's straightforward, 2 things that need a little bit of eyeball

It has a few opinions I don't necessarily like, but I think it's probably configurable if we want to mess with that, or just live with its decisions. Or you can just close this PR and forget about it.

The cool news is that if you do like the linter, then I can set up a githook to run it before commits and also a github action to run it automatically when someone opens a PR.

tried to make sure I didn't commit anything here that was
more opinionated than like, double quotes instead of single quotes
these ones are choices that the linter made, not all of which
I am a huge fan of, so we may want to consider configuration
or light refactoring
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.

3 participants