-
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.
Generate rubocop_todo and autocorrect the specs
The main part of the project will be fixed in a separate PR.
- Loading branch information
Showing
30 changed files
with
432 additions
and
170 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
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,206 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config --exclude-limit 10000000` | ||
# on 2024-02-09 15:03:07 UTC using RuboCop version 1.60.2. | ||
# 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: 5 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. | ||
# Include: **/*.gemfile, **/Gemfile, **/gems.rb | ||
Bundler/OrderedGems: | ||
Exclude: | ||
- 'Gemfile' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Layout/EmptyLineAfterGuardClause: | ||
Exclude: | ||
- 'lib/loga/formatters/gelf_formatter.rb' | ||
|
||
# Offense count: 34 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. | ||
# SupportedHashRocketStyles: key, separator, table | ||
# SupportedColonStyles: key, separator, table | ||
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit | ||
Layout/HashAlignment: | ||
Exclude: | ||
- 'lib/loga/configuration.rb' | ||
- 'lib/loga/formatters/gelf_formatter.rb' | ||
- 'lib/loga/rack/logger.rb' | ||
- 'lib/loga/railtie.rb' | ||
- 'lib/loga/sidekiq6/job_logger.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. | ||
Layout/LeadingCommentSpace: | ||
Exclude: | ||
- 'lib/loga/railtie.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: AllowComments, AllowEmptyLambdas. | ||
Lint/EmptyBlock: | ||
Exclude: | ||
- 'Appraisals' | ||
- 'spec/integration/sinatra_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedParentClasses. | ||
Lint/MissingSuper: | ||
Exclude: | ||
- 'lib/loga/formatters/gelf_formatter.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Lint/RedundantCopDisableDirective: | ||
Exclude: | ||
- 'lib/loga/railtie.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Lint/SendWithMixinArgument: | ||
Exclude: | ||
- 'lib/loga/railtie.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/CyclomaticComplexity: | ||
Max: 8 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/PerceivedComplexity: | ||
Max: 9 | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Migration/DepartmentName: | ||
Exclude: | ||
- 'lib/loga/railtie.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: PreferredName. | ||
Naming/RescuedExceptionsVariableName: | ||
Exclude: | ||
- 'lib/loga/sidekiq5/job_logger.rb' | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: Prefixes, AllowedPatterns. | ||
# Prefixes: when, with, without | ||
RSpec/ContextWording: | ||
Exclude: | ||
- 'spec/support/gethostname_shared.rb' | ||
- 'spec/support/timecop_shared.rb' | ||
- 'spec/unit/loga/configuration_spec.rb' | ||
|
||
# Offense count: 41 | ||
# Configuration parameters: AllowSubject. | ||
RSpec/MultipleMemoizedHelpers: | ||
Max: 12 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: AllowedPatterns. | ||
# AllowedPatterns: ^expect_, ^assert_ | ||
RSpec/NoExpectationExample: | ||
Exclude: | ||
- 'spec/integration/sidekiq60_spec.rb' | ||
- 'spec/integration/sidekiq61_spec.rb' | ||
- 'spec/integration/sidekiq65_spec.rb' | ||
- 'spec/integration/sidekiq7_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. | ||
# Include: **/*_spec.rb | ||
RSpec/SpecFilePathFormat: | ||
Exclude: | ||
- '**/spec/routing/**/*' | ||
- 'spec/integration/rails/action_mailer_spec.rb' | ||
- 'spec/integration/rails/railtie_spec.rb' | ||
|
||
# Offense count: 1 | ||
RSpec/SubjectDeclaration: | ||
Exclude: | ||
- 'spec/unit/loga/event_spec.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: AllowedReceivers. | ||
Style/CollectionCompact: | ||
Exclude: | ||
- 'lib/loga/configuration.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: Keywords, RequireColon. | ||
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE | ||
Style/CommentAnnotation: | ||
Exclude: | ||
- 'lib/loga/configuration.rb' | ||
|
||
# Offense count: 25 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: always, always_true, never | ||
Style/FrozenStringLiteralComment: | ||
Exclude: | ||
- 'Appraisals' | ||
- 'Gemfile' | ||
- 'Guardfile' | ||
- 'Rakefile' | ||
- 'lib/loga.rb' | ||
- 'lib/loga/configuration.rb' | ||
- 'lib/loga/event.rb' | ||
- 'lib/loga/ext/core/tempfile.rb' | ||
- 'lib/loga/ext/rails/rack/debug_exceptions.rb' | ||
- 'lib/loga/ext/rails/rack/logger.rb' | ||
- 'lib/loga/ext/rails/rack/logger3.rb' | ||
- 'lib/loga/formatters/gelf_formatter.rb' | ||
- 'lib/loga/formatters/simple_formatter.rb' | ||
- 'lib/loga/log_subscribers/action_mailer.rb' | ||
- 'lib/loga/parameter_filter.rb' | ||
- 'lib/loga/rack/logger.rb' | ||
- 'lib/loga/rack/request.rb' | ||
- 'lib/loga/rack/request_id.rb' | ||
- 'lib/loga/railtie.rb' | ||
- 'lib/loga/service_version_strategies.rb' | ||
- 'lib/loga/sidekiq5/job_logger.rb' | ||
- 'lib/loga/sidekiq6/job_logger.rb' | ||
- 'lib/loga/tagged_logging.rb' | ||
- 'lib/loga/utilities.rb' | ||
- 'lib/loga/version.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
Style/GlobalStdStream: | ||
Exclude: | ||
- 'lib/loga/configuration.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports unsafe autocorrection (--autocorrect-all). | ||
# Configuration parameters: EnforcedStyle. | ||
# SupportedStyles: literals, strict | ||
Style/MutableConstant: | ||
Exclude: | ||
- 'lib/loga/rack/request.rb' | ||
|
||
# Offense count: 2 | ||
Style/OpenStructUse: | ||
Exclude: | ||
- 'spec/unit/loga/formatters/gelf_formatter_spec.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/RedundantFileExtensionInRequire: | ||
Exclude: | ||
- 'lib/loga/railtie.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/RedundantFreeze: | ||
Exclude: | ||
- 'lib/loga/sidekiq7/job_logger.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
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
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
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
Oops, something went wrong.