ruby-style-guide icon indicating copy to clipboard operation
ruby-style-guide copied to clipboard

Enable `Lint/EmptyBlock`

Open cocoahero opened this issue 1 month ago • 1 comments

Hopefully a straight-forward proposal to enable Lint/EmptyBlock, in an effort to prevent situations like this:

field :my_graphql_field, :string, null: true do |f|
  # something was here but removed by rudimentary automation
end

cocoahero avatar Dec 01 '25 15:12 cocoahero

I'm pretty sure I didn't enable this because of legit reasons. I need to run against our codebase to check.

rafaelfranca avatar Dec 01 '25 16:12 rafaelfranca