-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(rubocop): Add rubocop todo file to temporarily suppress all "fa…
…ilures" See #11
- Loading branch information
1 parent
18d4d26
commit c37bc61
Showing
4 changed files
with
215 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.rubocop-https---* | ||
|
||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2024-07-10 12:03:55 UTC using RuboCop version 1.65.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: 9 | ||
# 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/xml_adapter/nokogiri_adapter.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowComments. | ||
Lint/EmptyClass: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: AllowedParentClasses. | ||
Lint/MissingSuper: | ||
Exclude: | ||
- 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' | ||
- 'lib/lutaml/model/xml_adapter/oga_adapter.rb' | ||
- 'lib/lutaml/model/xml_adapter/ox_adapter.rb' | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. | ||
Metrics/AbcSize: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' | ||
- 'lib/lutaml/model/xml_adapter.rb' | ||
- 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. | ||
# AllowedMethods: refine | ||
Metrics/BlockLength: | ||
Max: 36 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, Max. | ||
Metrics/CyclomaticComplexity: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' | ||
- 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' | ||
- 'lib/lutaml/model/xml_adapter/ox_adapter.rb' | ||
|
||
# Offense count: 8 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Max: 43 | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters. | ||
Metrics/ParameterLists: | ||
Max: 7 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, Max. | ||
Metrics/PerceivedComplexity: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' | ||
- 'lib/lutaml/model/xml_adapter/nokogiri_adapter.rb' | ||
- 'lib/lutaml/model/xml_adapter/ox_adapter.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Performance/MapCompact: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
RSpec/BeEq: | ||
Exclude: | ||
- 'spec/lutaml/model/collection_spec.rb' | ||
- 'spec/lutaml/model/simple_model_spec.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: be, be_nil | ||
RSpec/BeNil: | ||
Exclude: | ||
- 'spec/lutaml/model_spec.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: 18 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants. | ||
# SupportedStyles: described_class, explicit | ||
RSpec/DescribedClass: | ||
Exclude: | ||
- 'spec/address_spec.rb' | ||
- 'spec/lutaml/model/custom_serialization_spec.rb' | ||
- 'spec/lutaml/model/defaults_spec.rb' | ||
- 'spec/lutaml/model/render_nil_spec.rb' | ||
- 'spec/person_spec.rb' | ||
|
||
# Offense count: 55 | ||
# Configuration parameters: CountAsOne. | ||
RSpec/ExampleLength: | ||
Max: 36 | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns. | ||
RSpec/IndexedLet: | ||
Exclude: | ||
- 'spec/address_spec.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AutoCorrect. | ||
RSpec/LetBeforeExamples: | ||
Exclude: | ||
- 'spec/lutaml/model/defaults_spec.rb' | ||
- 'spec/person_spec.rb' | ||
|
||
# Offense count: 3 | ||
RSpec/MultipleDescribes: | ||
Exclude: | ||
- 'spec/lutaml/model/json_adapter_spec.rb' | ||
- 'spec/lutaml/model/toml_adapter_spec.rb' | ||
- 'spec/lutaml/model/xml_adapter_spec.rb' | ||
|
||
# Offense count: 53 | ||
RSpec/MultipleExpectations: | ||
Max: 15 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowSubject. | ||
RSpec/MultipleMemoizedHelpers: | ||
Max: 9 | ||
|
||
# Offense count: 2 | ||
RSpec/PendingWithoutReason: | ||
Exclude: | ||
- 'spec/lutaml/model/xml_adapter/oga_adapter_spec.rb' | ||
- 'spec/lutaml/model/xml_adapter_spec.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AutoCorrect. | ||
RSpec/ScatteredLet: | ||
Exclude: | ||
- 'spec/lutaml/model/defaults_spec.rb' | ||
- 'spec/person_spec.rb' | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. | ||
# Include: **/*_spec.rb | ||
RSpec/SpecFilePathFormat: | ||
Exclude: | ||
- 'spec/lutaml/model/collection_spec.rb' | ||
- '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' | ||
- 'spec/lutaml/model/yaml_adapter_spec.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Rails/NegateInclude: | ||
Exclude: | ||
- 'lib/lutaml/model/serialize.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank. | ||
Rails/Present: | ||
Exclude: | ||
- 'lib/lutaml/model/xml_namespace.rb' | ||
|
||
# Offense count: 6 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: strict, flexible | ||
Rails/TimeZone: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' | ||
- 'lib/lutaml/model/type/time_without_date.rb' | ||
- 'spec/person_spec.rb' | ||
|
||
# Offense count: 1 | ||
Style/DocumentDynamicEvalDefinition: | ||
Exclude: | ||
- 'lib/lutaml/model/type.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters