# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-07-01 18:50:42 +0200 using RuboCop version 0.72.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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 12
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
  Max: 63

# Offense count: 24
Metrics/PerceivedComplexity:
  Max: 15

# Offense count: 1
RSpec/AnyInstance:
  Exclude:
    - 'spec/requests/stripe_cancellations_spec.rb'

# Offense count: 281
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
  Max: 8

# Offense count: 1
# Configuration parameters: Include.
# Include: app/helpers/**/*.rb
Rails/HelperInstanceVariable:
  Exclude:
    - 'app/helpers/application_helper.rb'

# Offense count: 17
Rails/OutputSafety:
  Exclude:
    - 'app/controllers/stripe_subscriptions_controller.rb'
    - 'app/helpers/application_helper.rb'
    - 'app/helpers/comments_helper.rb'
    - 'app/labor/markdown_parser.rb'
    - 'app/liquid_tags/github_tag/github_issue_tag.rb'
    - 'app/liquid_tags/liquid_tag_base.rb'
    - 'app/models/comment.rb'
    - 'app/models/display_ad.rb'
    - 'app/models/message.rb'
    - 'app/views/api/v0/articles/show.json.jbuilder'
    - 'app/views/articles/feed.rss.builder'
    - 'app/views/podcast_episodes/show.html.erb'

# Offense count: 17
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Enabled: false

# Offense count: 1
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'app/models/article.rb'

# Offense count: 2463
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
  Max: 380
