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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Disable AbcSize metric for specs, and allow let! setup
Oliver Güntherd75826beda62
diff --git a/.rubocop.yml b/.rubocop.ymlindex 9df0cc8b1ba..68200f5410d 100644--- a/.rubocop.yml+++ b/.rubocop.yml@@ -88,6 +88,11 @@ Metrics/ModuleLength:Metrics/ParameterLists:Enabled: false+Metrics/AbcSize:+ Enabled: true+ Exclude:+ - 'spec/**/*.rb'+ - 'modules/*/spec/**/*.rb'Naming/AccessorMethodName:Enabled: false@@ -145,6 +150,11 @@ RSpec/NestedGroups:RSpec/DescribeMethod:Enabled: false+# We use let!() to ensure dependencies are created+# instead of let() and referencing them explicitly+RSpec/LetSetup:+ Enabled: false+Style/Alias:Enabled: false