Sha256: 3e12f0d4fdf8229fd23605b20229f2245985d59a6229d73920c9e3655c1e583d

Contents?: true

Size: 1.89 KB

Versions: 4

Compression:

Stored size: 1.89 KB

Contents

inherit_from: .rubocop_todo.yml

AllCops:
  TargetRubyVersion: 2.5.8
  NewCops: enable
  Exclude:
    - 'lib/watir/elements/html_elements.rb'
    - 'lib/watir/elements/svg_elements.rb'

Layout/LineLength:
  Max: 120

Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Lint/UnifiedInteger:
  Exclude:
  - 'lib/watir/locators/element/selector_builder.rb'

# Default: 17
Metrics/AbcSize:
  Max: 22
  Exclude:
    - 'lib/watir/locators/element/selector_builder.rb'
    - 'lib/watir/locators/element/selector_builder/*.rb'
    - 'lib/watir/generator/base/generator.rb'
    - 'spec/locator_spec_helper.rb'

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*'
    - 'support/doctest_helper.rb'
    - 'watir.gemspec'
    - 'Rakefile'

Metrics/ClassLength:
  Max: 93
  Exclude:
    - 'lib/watir/capabilities.rb'
    - 'lib/watir/locators/element/matcher.rb'
    - 'lib/watir/locators/element/selector_builder.rb'
    - 'lib/watir/locators/element/selector_builder/xpath.rb'
    - 'lib/watir/browser.rb'
    - 'lib/watir/window.rb'
    - 'lib/watir/elements/element.rb'
    - 'lib/watir/elements/select.rb'
    - 'lib/watir/generator/base/spec_extractor.rb'
    - 'lib/watir/element_collection.rb'

# Default: 7
Metrics/CyclomaticComplexity:
  Max: 9
  Exclude:
    - 'lib/watir/locators/element/selector_builder.rb'

# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 18
  Exclude:
    - 'lib/watir/locators/element/selector_builder.rb'
    - 'lib/watir/locators/element/selector_builder/xpath.rb'
    - 'lib/watir/locators/element/selector_builder/regexp_disassembler.rb'

# Default: 8
Metrics/PerceivedComplexity:
  Max: 10

Style/BlockDelimiters:
  EnforcedStyle: braces_for_chaining

Style/CommentedKeyword:
  Enabled: false

Style/DoubleNegation:
  Enabled: false

Style/GlobalVars:
  AllowedVariables:
    - $browser

Style/HashEachMethods:
  Enabled: false

Style/OptionalBooleanParameter:
  Enabled: false

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
watir-7.0.0.beta5 .rubocop.yml
watir-7.0.0.beta4 .rubocop.yml
watir-7.0.0.beta3 .rubocop.yml
watir-7.0.0.beta2 .rubocop.yml