# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-04-27 12:05:35 UTC using RuboCop version 1.28.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: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. # Include: **/*.gemfile, **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: - 'gemfiles/rails_6.1.gemfile' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'spec/encoder_spec.rb' # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/webhook_system/base_event.rb' - 'lib/webhook_system/job.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'lib/webhook_system/subscription.rb' # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: require_no_space, require_space Layout/SpaceInLambdaLiteral: Exclude: - 'lib/webhook_system/subscription.rb' # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). Lint/DeprecatedOpenSSLConstant: Exclude: - 'lib/webhook_system/encoder.rb' # Offense count: 1 # This cop supports unsafe auto-correction (--auto-correct-all). Lint/NonDeterministicRequireOrder: Exclude: - 'spec/spec_helper.rb' # Offense count: 1 Lint/UnreachableCode: Exclude: - 'lib/webhook_system/job.rb' # Offense count: 11 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Max: 112 # Offense count: 1 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'lib/webhook_system/encoder.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Exclude: - 'lib/webhook_system/job.rb' # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). Security/JSONLoad: Exclude: - 'lib/webhook_system/encoder.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). Style/FileWrite: Exclude: - 'Rakefile' # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/webhook_system/subscription.rb' # Offense count: 1 # This cop supports unsafe auto-correction (--auto-correct-all). # Configuration parameters: EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/webhook_system/job.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). Style/Proc: Exclude: - 'lib/webhook_system/subscription.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). Style/RedundantSelf: Exclude: - 'lib/webhook_system/base_event.rb' # Offense count: 1 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'spec/dispatching_events_spec.rb' # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). Style/StderrPuts: Exclude: - 'Rakefile' # Offense count: 1 # This cop supports unsafe auto-correction (--auto-correct-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/webhook_system/encoder.rb' # Offense count: 4 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: MinSize. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 3 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArrayLiteral: Exclude: - 'spec/dispatching_events_spec.rb' - 'spec/event_spec.rb' - 'spec/integration_spec.rb' # Offense count: 14 # This cop supports safe auto-correction (--auto-correct). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Exclude: - 'lib/webhook_system/base_event.rb' - 'lib/webhook_system/encoder.rb' - 'lib/webhook_system/event_log.rb' - 'lib/webhook_system/subscription.rb' - 'spec/encoder_spec.rb' - 'spec/event_spec.rb' - 'spec/integration_spec.rb'