[Tests] Setup StandardRB for Ruby #727
Replies: 10 comments
-
Can I work on this? Thanks in advance! :) |
Beta Was this translation helpful? Give feedback.
-
I think the following plan of action should work:
gem "rubocop-github"
gem "rubocop-performance"
gem "rubocop-rails"
rubocop --auto-gen-config This should create a .rubocop.yml file and .rubocop-todo.yml, which can be split into multiple tickets and worked on later without creating a single large PR (s ince this project is small and in the early stages, we can still go ahead and do an auto fix, wdyt @kalimar )
|
Beta Was this translation helpful? Give feedback.
-
Shouldn't we also have a section in here about the different tools that we use for dev? Eg: We Use:
|
Beta Was this translation helpful? Give feedback.
-
I created #340. I wasn't sure if I should update the readme. |
Beta Was this translation helpful? Give feedback.
-
@rgenchev I wasn't sure about the readme either. You can update readme like this in this PR -> https://github.com/Terrastories/terrastories/pull/338/files#diff-550856cf67eb7260aaeb883550043af8R143-R149 |
Beta Was this translation helpful? Give feedback.
-
@midhunkrishna, I did it here: 2a2d32c |
Beta Was this translation helpful? Give feedback.
-
Thoughts on utilizing StandardRB? It is essentially a wrapper around RuboCop, but defines "standards" for which rules are enforced rather than having to determine which ones we want to and why for each cop. |
Beta Was this translation helpful? Give feedback.
-
I could continue working on this. We just have to decide whether we pick |
Beta Was this translation helpful? Give feedback.
-
@lauramosher, @midhunkrishna, @kalimar, what do you think? :) |
Beta Was this translation helpful? Give feedback.
-
@rgenchev HI! Thank you for your interest. I've updated the issue to reflect the decision the stewards have landed on for our linter and formatter. Let us know if you have any questions. I've assigned you this issue. If you've changed your mind, please let us know and we'll unassign you. Thanks! |
Beta Was this translation helpful? Give feedback.
-
We are going to setup StandardRB as part of our development environment. This will involve some additional documentation so developers know how to integrate the tool into their text editors.
https://github.com/testdouble/standard#how-do-i-run-standard-in-my-editor
Before merging this we should come to a basic agreement on configuration and local setup.
Beta Was this translation helpful? Give feedback.
All reactions