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

avoid parsing error on potentially existing rubocop-local.yml file

ulferts4b9fef28af5d
diff --git a/.rubocop.yml b/.rubocop.yml
index 367f25ae174..83e119977d2 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -8,10 +8,9 @@ require:
- rubocop-performance
- ./config/initializers/inflections.rb
-<% if File.exist?('.rubocop-local.yml') %>
+# A rubocop-local.yml file can be added to customized the styles
inherit_from:
- - .rubocop-local.yml
-<% end %>
+ - .rubocop-local*.yml
inherit_mode:
merge: