lib/db_mod/statements/default_method_settings.rb
Indent the first line of the right-hand-side of a multi-line assignment. Open
Open
Configuration::MethodConfiguration.new
- Read upRead up
- Exclude checks
This cop checks the indentation of the first line of the right-hand-side of a multi-line assignment.
Example:
# bad
value =
if foo
'bar'
end
# good
value =
if foo
'bar'
end
The indentation of the remaining lines can be corrected with
other cops such as IndentationConsistency
and EndAlignment
.