Suggestion: Cop for sig
as a single or multi-line block
#174
Labels
help-wanted
Extra attention is needed
sig
as a single or multi-line block
#174
Original context: Shopify/ruby-lsp-rails#131 (comment)
When a sig has several parameters, it's usually more readable as a multi-line block, with one parameter per line. But when it only has one or two parameters, a single-line block is usually preferred.
Let's add a cop to auto-correct this.
The text was updated successfully, but these errors were encountered: