Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

add rubocop rules for erb_lint only to break nested method calls to multiple lines

Ivan Kuchin6ef13bcd445f
diff --git a/.erb_lint.yml b/.erb_lint.yml
index 1f72f0bce58..5aff3b303c2 100644
--- a/.erb_lint.yml
+++ b/.erb_lint.yml
@@ -15,6 +15,10 @@ linters:
rubocop_config:
inherit_from:
- .rubocop.yml
+ Layout/FirstArgumentIndentation:
+ EnforcedStyle: consistent
+ Layout/FirstMethodArgumentLineBreak:
+ Enabled: true
Layout/InitialIndentation:
Enabled: false
Layout/LeadingEmptyLines: