Skip to content

Commit

Permalink
Run rubocop --auto-gen-config to hide warnings about "Gemspec/Devel…
Browse files Browse the repository at this point in the history
…opmentDependencies"
  • Loading branch information
alexandre-pod committed Oct 18, 2023
1 parent 9dbd526 commit 66e697f
Showing 1 changed file with 34 additions and 39 deletions.
73 changes: 34 additions & 39 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-02-02 13:39:01 UTC using RuboCop version 1.43.0.
# on 2023-10-18 15:44:07 UTC using RuboCop version 1.57.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: 7
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
# SupportedStyles: Gemfile, gems.rb, gemspec
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
Gemspec/DevelopmentDependencies:
Exclude:
- 'ad_localize.gemspec'

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
Expand All @@ -14,13 +22,6 @@ Gemspec/OrderedDependencies:
Exclude:
- 'ad_localize.gemspec'

# Offense count: 1
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'ad_localize.gemspec'

# Offense count: 86
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterMagicComment:
Expand All @@ -41,30 +42,30 @@ Lint/UnusedMethodArgument:
- 'lib/ad_localize/interactors/base_generate_files.rb'
- 'lib/ad_localize/serializers/templated_serializer.rb'

# Offense count: 6
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
# Offense count: 7
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 35
Max: 31

# Offense count: 2
# Offense count: 4
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 139

# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 11
Max: 9

# Offense count: 11
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 13
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 40
Max: 27

# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 11
Max: 9

# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
Expand Down Expand Up @@ -101,7 +102,7 @@ Naming/VariableName:

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
# FunctionalMethods: let, let!, subject, watch
Expand Down Expand Up @@ -143,7 +144,7 @@ Style/FormatString:

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
EnforcedStyle: template
Expand All @@ -161,13 +162,16 @@ Style/GuardClause:
Exclude:
- 'lib/ad_localize/repositories/drive_repository.rb'

# Offense count: 57
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
Style/HashSyntax:
Enabled: false
Exclude:
- 'Rakefile'
- 'lib/ad_localize/option_handler.rb'
- 'test/interactors/process_export_request_test.rb'

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
Expand Down Expand Up @@ -195,14 +199,13 @@ Style/NegatedIf:
Exclude:
- 'lib/ad_localize/interactors/generate_strings.rb'

# Offense count: 3
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'test/interactors/process_export_request_test.rb'
- 'test/repositories/drive_repository_test.rb'

# Offense count: 1
Expand All @@ -218,13 +221,13 @@ Style/RedundantAssignment:
Exclude:
- 'lib/ad_localize/parsers/csv_parser.rb'

# Offense count: 1
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantBegin:
Exclude:
- 'lib/ad_localize/repositories/drive_repository.rb'

# Offense count: 18
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantFreeze:
Exclude:
Expand All @@ -234,7 +237,6 @@ Style/RedundantFreeze:
- 'lib/ad_localize/interactors/generate_strings.rb'
- 'lib/ad_localize/interactors/merge_wordings.rb'
- 'lib/ad_localize/parsers/csv_parser.rb'
- 'lib/ad_localize/parsers/key_parser.rb'
- 'lib/ad_localize/serializers/info_plist_serializer.rb'
- 'lib/ad_localize/serializers/localizable_strings_serializer.rb'
- 'lib/ad_localize/serializers/localizable_stringsdict_serializer.rb'
Expand Down Expand Up @@ -290,30 +292,23 @@ Style/StringConcatenation:
- 'lib/ad_localize/serializers/strings_serializer.rb'
- 'lib/ad_localize/serializers/templated_serializer.rb'

# Offense count: 85
# Offense count: 143
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Enabled: false

# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Style/SymbolLiteral:
Exclude:
- 'lib/ad_localize/mappers/options_to_export_request.rb'
- 'test/option_handler_test.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/ZeroLengthPredicate:
Exclude:
- 'lib/ad_localize/mappers/locale_wording_to_hash.rb'
- 'test/repositories/drive_repository_test.rb'

# Offense count: 10
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 153

0 comments on commit 66e697f

Please sign in to comment.