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

fix rubocop warnings on startup

ulferts8ba9862b22d4
diff --git a/.rubocop.yml b/.rubocop.yml
index 33dc89fbaf2..026c7a4931b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -3,6 +3,8 @@ require:
- rubocop-rspec
- ./lib_static/rubocop/cop/open_project/no_do_end_block_with_rspec_capybara_matcher_in_expect.rb
- ./lib_static/rubocop/cop/open_project/use_service_result_factory_methods.rb
+ - rubocop-capybara
+ - rubocop-factory_bot
inherit_mode:
merge:
@@ -16,6 +18,9 @@ AllCops:
Exclude:
- '**/node_modules/**/*'
+FactoryBot/SyntaxMethods:
+ Enabled: true
+
Gemspec/RequiredRubyVersion:
Exclude:
- modules/**/*.gemspec
@@ -233,9 +238,6 @@ RSpec/ContextWording:
- with
- without
-RSpec/FactoryBot/SyntaxMethods:
- Enabled: true
-
Style/Alias:
Enabled: false