rubocop-rails-omakase
rubocop-rails-omakase copied to clipboard
Omakase Ruby styling for Rails
It's possible to forget debugger calls like `binding.irb` on tests or app code only for them to be caught in code review. We can avoid this by enabling this linter...
I am not quite sure that having `rubocop-minitest` as a dependency is correct. On one side – yes, Minitest is a default testing framework in Rails; on the other side,...
When maintaining a project Rubocop file, it becomes troublesome when an `inherit_gem:` configuration contains `DisabledByDefault: true` because it applies to the entire project's Rubocop configuration and is difficult to override....
## Summary Some settings are already set by default on the inherited gems side. Why not remove duplicate settings in order to draw the reader's attention to the more essential...
Disclaimer: I've read the disclaimer and I'm very happy about the unintrusive mindset :) That being said, I think there are some cops that would benefit future users of this...
This PR removes an unnecessary setting in `Layout/EndAlignment`. As shown below for the default `Layout/EndAlignment' setting, the `AutoCorrect' setting is not needed for `Layout/EndAlignment'. AutoCorrect is already enabled without this...
Closes #13. This PR drops rubocop-minitest from gem dependency. In fact, the `Minitest` department's Cop is not used in rubocop-rails-omakase: https://github.com/rails/rubocop-rails-omakase/blob/v1.0.0/rubocop.yml This means that it might be appropriate for users...
For those of us who use Rspec instead of minitest, adding the spec/**/* files in rubocop.yml, for them to be consistent with the rest of the rails app.
I am a new user of this gem, trying to embrace the Ruby style and stop bringing in baggage from other languages. I noticed that there seems to be an...
I just updated all my gems and `bin/rubocop` stopped working with the error: ``` Error: configuration for Lint/Syntax cop found in .rubocop.yml It's not possible to disable this cop. ```...