The addition of the wikimedia_commons hyperlinking feature seems to trigger
the Metrics/ModuleLength check.
# This configuration was generated by
# `rubocop --auto-gen-config`
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2019-10-07 20:37:25 +0100 using RuboCop version 0.75.0.
+# on 2019-10-19 16:05:52 +0000 using RuboCop version 0.75.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'app/controllers/api/amf_controller.rb'
- 'app/controllers/users_controller.rb'
- 'app/controllers/api/amf_controller.rb'
- 'app/controllers/users_controller.rb'
Metrics/AbcSize:
Max: 189
Metrics/AbcSize:
Max: 189
Metrics/ClassLength:
Max: 645
Metrics/ClassLength:
Max: 645
Metrics/CyclomaticComplexity:
Max: 22
Metrics/CyclomaticComplexity:
Max: 22
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 179
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 179
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
# Offense count: 4
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 9
# Offense count: 4
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 9
Metrics/PerceivedComplexity:
Max: 25
Metrics/PerceivedComplexity:
Max: 25
Style/NumericLiterals:
MinDigits: 11
Style/NumericLiterals:
MinDigits: 11
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https