Skip to content

Commit

Permalink
Regenerate .rubocop_todo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosCodes committed Apr 12, 2023
1 parent f8debb4 commit cd09f6a
Showing 1 changed file with 37 additions and 46 deletions.
83 changes: 37 additions & 46 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 --exclude-limit 180`
# on 2023-04-08 08:45:53 UTC using RuboCop version 1.44.1.
# on 2023-04-11 04:14:54 UTC using RuboCop version 1.44.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
Expand Down Expand Up @@ -47,7 +47,7 @@ Gemspec/RequiredRubyVersion:
Exclude:
- 'spec/dummy/components/test_engine/test_engine.gemspec'

# Offense count: 28
# Offense count: 24
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_argument, with_fixed_indentation
Expand Down Expand Up @@ -94,7 +94,7 @@ Layout/DefEndAlignment:
Exclude:
- 'lib/apipie/generator/swagger/param_description/name.rb'

# Offense count: 28
# Offense count: 27
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
Expand All @@ -119,7 +119,7 @@ Layout/ElseAlignment:
- 'lib/apipie/param_description.rb'
- 'lib/apipie/resource_description.rb'

# Offense count: 61
# Offense count: 60
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterGuardClause:
Exclude:
Expand Down Expand Up @@ -155,7 +155,7 @@ Layout/EmptyLineBetweenDefs:
- 'spec/dummy/app/controllers/pets_using_auto_views_controller.rb'
- 'spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb'

# Offense count: 64
# Offense count: 61
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLines:
Exclude:
Expand All @@ -169,7 +169,6 @@ Layout/EmptyLines:
- 'lib/apipie/validator.rb'
- 'lib/tasks/apipie.rake'
- 'spec/controllers/included_param_group_controller_spec.rb'
- 'spec/controllers/pets_controller_spec.rb'
- 'spec/dummy/app/controllers/pets_controller.rb'
- 'spec/dummy/app/controllers/pets_using_auto_views_controller.rb'
- 'spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb'
Expand All @@ -196,7 +195,7 @@ Layout/EmptyLinesAroundAttributeAccessor:
Exclude:
- 'lib/apipie/configuration.rb'

# Offense count: 109
# Offense count: 101
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Expand All @@ -222,7 +221,6 @@ Layout/EmptyLinesAroundBlockBody:
- 'spec/lib/apipie/method_description_spec.rb'
- 'spec/lib/apipie/param_description_spec.rb'
- 'spec/lib/apipie/param_group_spec.rb'
- 'spec/lib/apipie/resource_description_spec.rb'
- 'spec/lib/apipie/validator_spec.rb'
- 'spec/lib/rake_spec.rb'
- 'spec/lib/swagger/rake_swagger_spec.rb'
Expand All @@ -231,14 +229,13 @@ Layout/EmptyLinesAroundBlockBody:
- 'spec/spec_helper.rb'
- 'spec/test_engine/memes_controller_spec.rb'

# Offense count: 45
# Offense count: 44
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
Layout/EmptyLinesAroundClassBody:
Exclude:
- 'lib/apipie/application.rb'
- 'lib/apipie/configuration.rb'
- 'lib/apipie/error_description.rb'
- 'lib/apipie/extractor.rb'
- 'lib/apipie/extractor/collector.rb'
Expand All @@ -261,14 +258,13 @@ Layout/EmptyLinesAroundClassBody:
- 'spec/dummy/app/controllers/users_controller.rb'
- 'spec/dummy/config/initializers/apipie.rb'

# Offense count: 7
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLinesAroundMethodBody:
Exclude:
- 'lib/apipie/application.rb'
- 'lib/apipie/dsl_definition.rb'
- 'lib/apipie/param_description.rb'
- 'lib/apipie/resource_description.rb'
- 'lib/apipie/response_description.rb'
- 'lib/apipie/rspec/response_validation_helper.rb'
- 'lib/apipie/static_dispatcher.rb'
Expand Down Expand Up @@ -310,12 +306,11 @@ Layout/EndAlignment:
- 'lib/apipie/param_description.rb'
- 'lib/apipie/resource_description.rb'

# Offense count: 29
# Offense count: 28
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
Layout/ExtraSpacing:
Exclude:
- 'lib/apipie/configuration.rb'
- 'lib/apipie/dsl_definition.rb'
- 'spec/controllers/users_controller_spec.rb'
- 'spec/dummy/app/controllers/pets_controller.rb'
Expand Down Expand Up @@ -405,12 +400,11 @@ Layout/InitialIndentation:
- 'spec/dummy/app/controllers/extending_concern.rb'
- 'spec/dummy/app/controllers/sample_controller.rb'

# Offense count: 16
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
Exclude:
- 'lib/apipie/configuration.rb'
- 'lib/apipie/dsl_definition.rb'
- 'lib/tasks/apipie.rake'

Expand Down Expand Up @@ -467,7 +461,7 @@ Layout/SpaceAfterColon:
Exclude:
- 'spec/dummy/app/controllers/included_param_group_controller.rb'

# Offense count: 76
# Offense count: 42
# This cop supports safe autocorrection (--autocorrect).
Layout/SpaceAfterComma:
Exclude:
Expand Down Expand Up @@ -553,7 +547,7 @@ Layout/SpaceInsideArrayLiteralBrackets:
- 'lib/apipie/generator/swagger/param_description/composite.rb'
- 'spec/controllers/users_controller_spec.rb'

# Offense count: 67
# Offense count: 63
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
Expand Down Expand Up @@ -793,10 +787,10 @@ Lint/Void:
Exclude:
- 'spec/controllers/users_controller_spec.rb'

# Offense count: 55
# Offense count: 58
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 90
Max: 96

# Offense count: 4
# Configuration parameters: CountBlocks.
Expand All @@ -808,7 +802,7 @@ Metrics/BlockNesting:
Metrics/CyclomaticComplexity:
Max: 24

# Offense count: 76
# Offense count: 77
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 58
Expand Down Expand Up @@ -978,7 +972,7 @@ RSpec/Be:
- 'spec/controllers/concerns_controller_spec.rb'
- 'spec/controllers/users_controller_spec.rb'

# Offense count: 56
# Offense count: 55
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/BeEq:
Exclude:
Expand All @@ -990,7 +984,6 @@ RSpec/BeEq:
- 'spec/lib/apipie/method_description_spec.rb'
- 'spec/lib/apipie/param_description_spec.rb'
- 'spec/lib/apipie/param_group_spec.rb'
- 'spec/lib/apipie/resource_description_spec.rb'
- 'spec/lib/swagger/swagger_dsl_spec.rb'
- 'spec/lib/validators/array_validator_spec.rb'

Expand Down Expand Up @@ -1027,7 +1020,7 @@ RSpec/DescribeClass:
- 'spec/lib/swagger/rake_swagger_spec.rb'
- 'spec/lib/swagger/swagger_dsl_spec.rb'

# Offense count: 96
# Offense count: 94
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
Expand Down Expand Up @@ -1067,20 +1060,19 @@ RSpec/EmptyLineAfterFinalLet:
Exclude:
- 'spec/lib/validators/array_validator_spec.rb'

# Offense count: 4
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowConsecutiveOneLiners.
RSpec/EmptyLineAfterHook:
Exclude:
- 'spec/lib/apipie/apipies_controller_spec.rb'
- 'spec/lib/apipie/application_spec.rb'

# Offense count: 53
# Offense count: 52
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 85

# Offense count: 165
# Offense count: 161
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
# DisallowedExamples: works
Expand Down Expand Up @@ -1114,23 +1106,20 @@ RSpec/ExpectInHook:
Exclude:
- 'spec/lib/apipie/extractor/writer_spec.rb'

# Offense count: 8
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Exclude:
- 'spec/controllers/pets_controller_spec.rb'
- 'spec/lib/apipie/extractor/writer_spec.rb'
- 'spec/lib/apipie/method_description_spec.rb'
- 'spec/lib/apipie/resource_description_spec.rb'

# Offense count: 5
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
RSpec/HooksBeforeExamples:
Exclude:
- 'spec/controllers/users_controller_spec.rb'
- 'spec/lib/apipie/application_spec.rb'
- 'spec/lib/apipie/extractor/writer_spec.rb'
- 'spec/lib/apipie/param_description_spec.rb'

Expand All @@ -1142,13 +1131,12 @@ RSpec/ImplicitSubject:
Exclude:
- 'spec/lib/apipie/application_spec.rb'

# Offense count: 30
# Offense count: 20
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/lib/apipie/apipies_controller_spec.rb'
- 'spec/lib/apipie/method_description_spec.rb'
- 'spec/lib/apipie/resource_description_spec.rb'

# Offense count: 9
# This cop supports safe autocorrection (--autocorrect).
Expand All @@ -1174,11 +1162,11 @@ RSpec/LeakyConstantDeclaration:
RSpec/MessageSpies:
EnforcedStyle: receive

# Offense count: 99
# Offense count: 97
RSpec/MultipleExpectations:
Max: 19

# Offense count: 99
# Offense count: 100
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 15
Expand All @@ -1205,7 +1193,7 @@ RSpec/NamedSubject:
- 'spec/lib/swagger/rake_swagger_spec.rb'
- 'spec/lib/swagger/swagger_dsl_spec.rb'

# Offense count: 64
# Offense count: 65
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 6
Expand Down Expand Up @@ -1253,22 +1241,20 @@ RSpec/Rails/InferredSpecType:
Exclude:
- 'spec/controllers/pets_controller_spec.rb'

# Offense count: 4
# Offense count: 2
RSpec/RepeatedExample:
Exclude:
- 'spec/lib/apipie/method_description_spec.rb'
- 'spec/lib/apipie/resource_description_spec.rb'

# Offense count: 2
RSpec/RepeatedExampleGroupBody:
Exclude:
- 'spec/lib/apipie/generator/swagger/warning_spec.rb'

# Offense count: 4
# Offense count: 2
RSpec/RepeatedExampleGroupDescription:
Exclude:
- 'spec/lib/apipie/apipies_controller_spec.rb'
- 'spec/lib/apipie/application_spec.rb'

# Offense count: 2
RSpec/StubbedMock:
Expand Down Expand Up @@ -1355,7 +1341,7 @@ Rails/OutputSafety:
Exclude:
- 'lib/apipie/helpers.rb'

# Offense count: 6
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
Rails/Pluck:
Exclude:
Expand Down Expand Up @@ -1544,6 +1530,12 @@ Style/ConditionalAssignment:
- 'lib/apipie/see_description.rb'
- 'lib/tasks/apipie.rake'

# Offense count: 1
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'lib/apipie/generator/config.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
Expand Down Expand Up @@ -1875,13 +1867,12 @@ Style/RedundantPercentQ:
Exclude:
- 'apipie-rails.gemspec'

# Offense count: 34
# Offense count: 30
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- 'lib/apipie/application.rb'
- 'lib/apipie/configuration.rb'
- 'lib/apipie/dsl_definition.rb'
- 'lib/apipie/extractor.rb'
- 'lib/apipie/extractor/collector.rb'
Expand Down Expand Up @@ -1978,7 +1969,7 @@ Style/StringConcatenation:
- 'lib/apipie/application.rb'
- 'lib/apipie/extractor/writer.rb'

# Offense count: 1292
# Offense count: 1235
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Expand Down

0 comments on commit cd09f6a

Please sign in to comment.