Closed dsandstrom closed 8 years ago
why not generate .rubocop_todo.yml? or correct files listed in rubocop check report?
I've never used the todo functionality, what is the benefit?
@dsandstrom Two reasons:
@dsandstrom rubocop --autogen-config - generate a configuration file acting as a TODO list. After that rubocop will not raise errors listed in rubocop_todo.yml and we will fix them later.
Closed in favour of #143
Lately, I've been using the rubocop linter, which follows the Ruby Style Guidline. I feel it keeps my code consistent and easy to read. I purpose we add rubocop configs (.rubocop.yml) to this gem and enforce code style for future additions. Also, I've added a linting step to our Travis CI so checking style is less painful. Of course, the settings we choose for the rubocop configs are open to debate.
Where I deviate a little from the norm is I like to use double quotes in my spec files, while single everywhere else.
I'm willing to go through the code and fix any errors.