# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-12-06 12:11:09 +0000 using RuboCop version 0.51.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: 1
Lint/AmbiguousRegexpLiteral:
  Exclude:
    - 'tests/browser/features/step_definitions/common_steps.rb'

# Offense count: 1
Lint/InterpolationCheck:
  Exclude:
    - 'tests/browser/features/step_definitions/special_watchlist_steps.rb'

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 130

# Offense count: 32
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
  Max: 156

# Offense count: 3
# Cop supports --auto-correct.
Performance/StringReplacement:
  Exclude:
    - 'tests/browser/features/step_definitions/common_steps.rb'
    - 'tests/browser/features/step_definitions/create_page_api_steps.rb'

# Offense count: 14
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'tests/browser/features/support/pages/article_page.rb'
    - 'tests/browser/features/support/pages/create_article_page.rb'
    - 'tests/browser/features/support/pages/diff_page.rb'
    - 'tests/browser/features/support/pages/language_page.rb'
    - 'tests/browser/features/support/pages/main_page.rb'
    - 'tests/browser/features/support/pages/notification_page.rb'
    - 'tests/browser/features/support/pages/page.rb'
    - 'tests/browser/features/support/pages/special_history_page.rb'
    - 'tests/browser/features/support/pages/special_mobilediff_page.rb'
    - 'tests/browser/features/support/pages/special_search_page.rb'
    - 'tests/browser/features/support/pages/special_userlogin_page.rb'
    - 'tests/browser/features/support/pages/user_page.rb'
    - 'tests/browser/features/support/pages/watchlist_page.rb'

# Offense count: 1
Style/MixinUsage:
  Exclude:
    - 'tests/browser/features/support/pages/special_history_page.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
  Exclude:
    - 'tests/browser/features/support/pages/user_page.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
  Exclude:
    - 'tests/browser/features/support/hooks.rb'
