Add and apply MultilineMethodCallBraceLayout rule

In order for this rule to work effectively when running `--autocorrect`,
we also need to enable the `ClosingParenthesisIndentation` rule.
This commit is contained in:
Javi Martín
2023-07-01 18:18:22 +02:00
parent 5b6de96241
commit 1a098dfcab
36 changed files with 74 additions and 65 deletions

View File

@@ -937,8 +937,7 @@ describe "Admin budget investments", :admin do
price: 1234,
price_first_year: 1000,
administrator: administrator,
valuators: [valuator]
)
valuators: [valuator])
visit admin_budget_budget_investments_path(budget_investment.budget)
@@ -1757,8 +1756,7 @@ describe "Admin budget investments", :admin do
:winner,
:visible_to_valuators,
budget: budget,
author: create(:user, username: "Jon Doe")
)
author: create(:user, username: "Jon Doe"))
end
let(:default_columns) do
%w[id title supports admin valuator geozone feasibility price