.rubocop.yml in webdrivers-3.8.1 vs .rubocop.yml in webdrivers-3.9.0

- old
+ new

@@ -1,30 +1,39 @@ -require: rubocop-rspec +AllCops: + TargetRubyVersion: 2.4.6 +require: + - rubocop-rspec + - rubocop-performance + +Layout/SpaceInsideHashLiteralBraces: + EnforcedStyle: no_space + Layout/EndOfLine: EnforcedStyle: lf Metrics/LineLength: Max: 120 + IgnoredPatterns: + - '\s+# rubocop:disable' Metrics/MethodLength: - Enabled: false + Max: 20 Metrics/BlockLength: Exclude: - 'spec/**/*' Metrics/ClassLength: - Max: 110 - Exclude: - - 'lib/webdrivers/common.rb' + Max: 116 -Metrics/AbcSize: - Exclude: - - 'lib/webdrivers/common.rb' - Metrics/CyclomaticComplexity: Max: 8 + +Metrics/AbcSize: + Max: 16 + Exclude: + - 'lib/webdrivers/chromedriver.rb' Style/Documentation: Enabled: false RSpec/ExampleLength: