# This configuration was generated by # `rubocop --auto-gen-config` # on 2023-12-06 18:14:53 UTC using RuboCop version 1.58.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. # Offense count: 2 Capybara/SpecificMatcher: Exclude: - "spec/helpers/record_helper_spec.rb" # Offense count: 2 # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. Lint/DuplicateBranch: Exclude: - "lib/mods_display/fields/title.rb" # Offense count: 1 Lint/ShadowingOuterLocalVariable: Exclude: - "spec/helpers/record_helper_spec.rb" # Offense count: 15 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 42 # Offense count: 2 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 132 # Offense count: 1 # Configuration parameters: LengthThreshold. Metrics/CollectionLiteralLength: Exclude: - "lib/mods_display/relator_codes.rb" # Offense count: 9 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 12 # Offense count: 18 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 24 # Offense count: 7 # Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: Max: 13 # Offense count: 17 RSpec/BeforeAfterAll: Enabled: false # Offense count: 2 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - "spec/fields/contents_spec.rb" - "spec/fields/form_spec.rb" # Offense count: 1 # Configuration parameters: IgnoredMetadata. RSpec/DescribeClass: Exclude: - "**/spec/features/**/*" - "**/spec/requests/**/*" - "**/spec/routing/**/*" - "**/spec/system/**/*" - "**/spec/views/**/*" - "spec/integration/html_spec.rb" # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). RSpec/ExpectActual: Exclude: - "**/spec/routing/**/*" - "spec/fields/name_spec.rb" # Offense count: 39 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* RSpec/SpecFilePathSuffix: Enabled: false # Offense count: 96 # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Enabled: false # Offense count: 2 RSpec/IteratedExpectation: Exclude: - "spec/helpers/record_helper_spec.rb" - "spec/integration/html_spec.rb" # Offense count: 4 # Configuration parameters: . # SupportedStyles: have_received, receive RSpec/MessageSpies: EnforcedStyle: receive # Offense count: 4 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 6 # Offense count: 8 # Configuration parameters: AllowedGroups. RSpec/NestedGroups: Max: 4 # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Inferences. RSpecRails/InferredSpecType: Exclude: - "spec/helpers/record_helper_spec.rb" # Offense count: 39 # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. # Include: **/*_spec.rb RSpec/SpecFilePathFormat: Enabled: false # Offense count: 3 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - "spec/helpers/record_helper_spec.rb" # Offense count: 50 # Configuration parameters: AllowedConstants. Style/Documentation: Enabled: false # Offense count: 4 Style/MixinUsage: Exclude: - "spec/fields/cartographics_spec.rb" - "spec/fields/imprint_spec.rb" - "spec/fields/name_spec.rb" - "spec/fields/subject_spec.rb" # Offense count: 1 Style/MultilineBlockChain: Exclude: - "lib/mods_display/fields/imprint.rb" # Offense count: 13 Style/OpenStructUse: Exclude: - "spec/helpers/record_helper_spec.rb" # Offense count: 46 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 273