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
Fix rubocop config to allow OAuth and ICal to be correctly inflected
Klaus Zanderscc31443754e5
diff --git a/.rubocop.yml b/.rubocop.ymlindex ba28636b6f6..32ce8290ea2 100644--- a/.rubocop.yml+++ b/.rubocop.yml@@ -24,7 +24,7 @@ AllCops:# Enable any new cops in new versions by defaultNewCops: enableExclude:- - '**/node_modules/**/*'+ - "**/node_modules/**/*"# Disable it as it is deprecated# From https://docs.rubocop.org/rubocop-capybara/cops_capybara.html#capybaraclicklinkorbuttonstyle@@ -42,12 +42,11 @@ Gemspec/RequiredRubyVersion:Exclude:- modules/**/*.gemspec-Layout/ConditionPosition:Enabled: falseLayout/DotPosition:- EnforcedStyle: leading+ EnforcedStyle: leadingLayout/LineLength:Max: 130@@ -126,8 +125,8 @@ Metrics/ParameterLists:Metrics/AbcSize:Enabled: trueExclude:- - 'spec/**/*.rb'- - 'modules/*/spec/**/*.rb'+ - "spec/**/*.rb"+ - "modules/*/spec/**/*.rb"Naming/AccessorMethodName:Enabled: false@@ -167,7 +166,7 @@ Rails/ContentTag:Rails/I18nLocaleAssignment:Enabled: trueExclude:- - 'spec/**/*.rb'+ - "spec/**/*.rb"# Do not bother if `let` statements use an index in their nameRSpec/IndexedLet:@@ -189,8 +188,8 @@ RSpec/ExampleLength:Max: 25Enabled: trueExclude:- - 'spec/features/**/*.rb'- - 'modules/*/spec/features/**/*.rb'+ - "spec/features/**/*.rb"+ - "modules/*/spec/features/**/*.rb"# We have specs that have no expect(..) syntax,# but only helper classes that expect themselves@@ -200,8 +199,8 @@ RSpec/NoExpectationExample:RSpec/DescribeClass:Enabled: trueExclude:- - 'spec/features/**/*.rb'- - 'modules/*/spec/features/**/*.rb'+ - "spec/features/**/*.rb"+ - "modules/*/spec/features/**/*.rb"# Nothing wrong with `include_examples` when used properly.RSpec/IncludeExamples:@@ -215,9 +214,9 @@ RSpecRails/HttpStatus:Rails/DynamicFindBy:Enabled: trueExclude:- - 'spec/features/**/*.rb'- - 'spec/support/**/*.rb'- - 'modules/*/spec/features/**/*.rb'+ - "spec/features/**/*.rb"+ - "spec/support/**/*.rb"+ - "modules/*/spec/features/**/*.rb"Whitelist:- find_by_login@@ -240,8 +239,8 @@ RSpec/MultipleExpectations:Max: 15Enabled: trueExclude:- - 'spec/features/**/*.rb'- - 'modules/*/spec/features/**/*.rb'+ - "spec/features/**/*.rb"+ - "modules/*/spec/features/**/*.rb"RSpec/MultipleMemoizedHelpers:Enabled: false@@ -260,6 +259,8 @@ RSpec/SpecFilePathFormat:CustomTransform:OpenIDConnect: openid_connectOAuthClients: oauth_clients+ OAuth: oauth+ ICal: icalIgnoreMethods: true# Prevent "fit" or similar to be committed@@ -287,7 +288,7 @@ RSpec/ContextWording:- having- if- in- - 'on'+ - "on"- to- unless- via