-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Description
Using e367f7b the following code is misindented:
x_to_y_mapping = {
'x_one' => %i[
y_one
y_two
],
'x_two' => %i[
y_three
y_four
]
}becomes:
x_to_y_mapping = {
'x_one' => %i[
y_one
y_two
],
'x_two' => %i[
y_three
y_four
]
}the issues as I see it being:
- The symbol-array literal elements are dedented to align with the hash key
- The second key is indented relative to the first key
N.b. the following is correctly indented:
x_to_y_mapping = {
'x_one'=> [
:y_one,
:y_two
],
'x_two' => [
:y_three,
:y_four
]
}Metadata
Metadata
Assignees
Labels
No labels