livingsocial / swagger_yard

Swagger-UI compliant JSON generated from YARD. For RESTful Rails apps.
MIT License
51 stars 28 forks source link

Standardrb #71

Open StefSchenkelaars opened 3 years ago

StefSchenkelaars commented 3 years ago

@nicksieger Hi there again. I wanted to try to do some refactoring on the library but I wasn't too sure about code styling.

So my proposal is to use the opinionated standard RB gem. This is basically rubocop with a predefined default. I must say I don't like all the choices personally but I think it's a good start.

Most of the changes of this PR are from the autocorrect. I did make some manual changes which I tried to split up in different commits. So if you want to review the code, it's probably easier to do it commit per commit.