-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rubocop integration? #27
Comments
I don't like RuboCop but it's OK to me if we start from a loose configuration that doesn't report anything for the current code base. |
@kou I think currently RuboCop generate pretty interesting enhancements for current codebase, at least for better readability. Line 1180 in 120b115
to if part.end_with?(@quote_char) && part.count(@quote_char).odd? which is better looking for me. Or duplicate Line 558 in e0a25db
and Line 575 in e0a25db
And since gem has And so on |
Do you mean that "we should start from an optimized configuration"? |
While I understand the feelings about the code styles in the repo, Rubocop is very opinionated, which makes it extremely difficult to get everyone on the same page. I took a quick look at the source code and found it very readable and easy to understand even without Robocop. Personally, I don't see why we should incorporate Rubocop into this project. That being said, the two points you brought up are totally legitimate. I'm not sure about the |
@ShockwaveNN As I described in the recent commit b8766d8, we don't use RuboCop in this small repository. Please file your pull-request in your own coding style with some adjustments to fit the lines around of your change. |
Hi there, while filing some bug for this project I noticed what code style of this project is not in great shape.
I can help with integration of RuboCop into project and fixing current code style issues if authors are agree with me.
The text was updated successfully, but these errors were encountered: