# This configuration was generated by # `rubocop --auto-gen-config` # on 2024-08-15 09:04:06 UTC using RuboCop version 1.65.1. # 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: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Severity, Include. # Include: **/*.gemspec Gemspec/RequireMFA: Exclude: - 'lutaml-model.gemspec' # Offense count: 28 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Exclude: - 'lib/lutaml/model/serialize.rb' - 'lib/lutaml/model/type.rb' - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' - 'lib/lutaml/model/xml_adapter/ox_adapter.rb' - 'lib/lutaml/model/xml_adapter/xml_document.rb' - 'spec/lutaml/model/delegation_spec.rb' # Offense count: 20 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. Metrics/AbcSize: Exclude: - 'lib/lutaml/model/serialize.rb' - 'lib/lutaml/model/type.rb' - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' - 'lib/lutaml/model/xml_adapter/ox_adapter.rb' - 'lib/lutaml/model/xml_adapter/xml_document.rb' # Offense count: 3 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. # AllowedMethods: refine Metrics/BlockLength: Max: 30 # Offense count: 19 # Configuration parameters: AllowedMethods, AllowedPatterns, Max. Metrics/CyclomaticComplexity: Exclude: - 'lib/lutaml/model/serialize.rb' - 'lib/lutaml/model/type.rb' - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' - 'lib/lutaml/model/xml_adapter/ox_adapter.rb' - 'lib/lutaml/model/xml_adapter/xml_document.rb' # Offense count: 27 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 41 # Offense count: 4 # Configuration parameters: CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: Max: 9 # Offense count: 17 # Configuration parameters: AllowedMethods, AllowedPatterns, Max. Metrics/PerceivedComplexity: Exclude: - 'lib/lutaml/model/serialize.rb' - 'lib/lutaml/model/type.rb' - 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' - 'lib/lutaml/model/xml_adapter/ox_adapter.rb' - 'lib/lutaml/model/xml_adapter/xml_document.rb' # Offense count: 6 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/lutaml/model/xml_adapter/nokogiri_adapter_spec.rb' - 'spec/lutaml/model/xml_adapter/oga_adapter_spec.rb' - 'spec/lutaml/model/xml_adapter/ox_adapter_spec.rb' # Offense count: 63 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 35 # Offense count: 2 # Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns. RSpec/IndexedLet: Exclude: - 'spec/address_spec.rb' # Offense count: 4 RSpec/MultipleDescribes: Exclude: - 'spec/lutaml/model/json_adapter_spec.rb' - 'spec/lutaml/model/toml_adapter_spec.rb' - 'spec/lutaml/model/xml_adapter/xml_namespace_spec.rb' - 'spec/lutaml/model/xml_adapter_spec.rb' # Offense count: 63 RSpec/MultipleExpectations: Max: 15 # Offense count: 11 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 9 # Offense count: 3 RSpec/PendingWithoutReason: Exclude: - 'spec/lutaml/model/xml_adapter/oga_adapter_spec.rb' - 'spec/lutaml/model/xml_adapter/xml_namespace_spec.rb' - 'spec/lutaml/model/xml_adapter_spec.rb' # Offense count: 1 # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. # Include: **/*_spec.rb RSpec/SpecFilePathFormat: Exclude: - '**/spec/routing/**/*' - 'spec/lutaml/model/collection_spec.rb'