-
-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
Hey Kevin,
Seems that formatting has changed in 4.0, causing conflicts with rubocop rules.
For example:
4.0 wants to change this:
module Migration
Sequel.migration do
down do
DB.run(
"
SOME SQL STMT
"
)
end
end
endto this:
module Migration
Sequel.migration do
down { DB.run("
SOME SQL STMT
") }
end
endand rubocop is complaining:
C: [Correctable] Layout/FirstMethodArgumentLineBreak: Add a line break before the first argument of a multi-line method argument list.
DB.run(" ...
another example with puts:
before:
puts(
'
some string.
'.gsub(/^\s+/, '')
)after:
puts('
some string.
'.gsub(/^\s+/, ''))Metadata
Metadata
Assignees
Labels
No labels