.rubocop.yml in cli-kit-3.3.0 vs .rubocop.yml in cli-kit-4.0.0

- old
+ new

@@ -1,28 +1,23 @@ -inherit_from: - - http://shopify.github.io/ruby-style-guide/rubocop.yml +inherit_gem: + rubocop-shopify: rubocop-cli.yml AllCops: - Exclude: [ 'gen/template/**/*' ] - TargetRubyVersion: 2.3 + Exclude: + - gen/template/**/* + - vendor/**/* + TargetRubyVersion: 2.5 Style/ClassAndModuleChildren: Exclude: - lib/cli/kit/support/test_helper.rb Style/FrozenStringLiteralComment: Enabled: false -Shopify/RubocopComments: - Enabled: false - -# This doesn't understand that <<~ doesn't exist in 2.0 -Layout/IndentHeredoc: - Enabled: false - # This doesn't take into account retrying from an exception -Lint/HandleExceptions: +Lint/SuppressedException: Enabled: false # allow String.new to create mutable strings Style/EmptyLiteral: Enabled: false @@ -37,8 +32,7 @@ # allow readable Dev::Util.begin formatting Style/MultilineBlockChain: Enabled: false -# allow using names to be more expressive -Performance/RedundantBlockCall: - Enabled: false +Style/StringLiterals: + EnforcedStyle: single_quotes