Skip to content

Commit

Permalink
Disable some linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Dec 12, 2023
1 parent 1bac11a commit 5d7bf65
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-12-06 17:19:54 UTC using RuboCop version 1.58.0.
# on 2023-12-12 14:55:05 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
Expand All @@ -27,10 +27,10 @@ Lint/UnusedMethodArgument:
- 'lib/ad_localize/interactors/base_generate_files.rb'
- 'lib/ad_localize/serializers/templated_serializer.rb'

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

# Offense count: 4
# Configuration parameters: CountComments, CountAsOne.
Expand All @@ -40,13 +40,18 @@ Metrics/ClassLength:
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 8
Max: 9

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

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

# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
Expand Down Expand Up @@ -142,7 +147,7 @@ Style/GuardClause:
Exclude:
- 'lib/ad_localize/repositories/drive_repository.rb'

# Offense count: 14
# 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
Expand Down Expand Up @@ -278,7 +283,7 @@ Style/StringConcatenation:
- 'lib/ad_localize/serializers/strings_serializer.rb'
- 'lib/ad_localize/serializers/templated_serializer.rb'

# Offense count: 105
# Offense count: 142
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Expand All @@ -292,7 +297,7 @@ Style/ZeroLengthPredicate:
- 'lib/ad_localize/mappers/locale_wording_to_hash.rb'
- 'test/repositories/drive_repository_test.rb'

# Offense count: 14
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Expand Down

0 comments on commit 5d7bf65

Please sign in to comment.