.rubocop.yml in cli-kit-3.0.0.pre vs .rubocop.yml in cli-kit-3.0.0
- old
+ new
@@ -1,15 +1,20 @@
inherit_from:
- http://shopify.github.io/ruby-style-guide/rubocop.yml
AllCops:
- Exclude:
- - 'vendor/**/*'
- TargetRubyVersion: 2.0
+ Exclude: [ 'gen/template/**/*' ]
+ TargetRubyVersion: 2.3
+Style/FrozenStringLiteralComment:
+ Enabled: false
+
+Shopify/RubocopComments:
+ Enabled: false
+
# This doesn't understand that <<~ doesn't exist in 2.0
-Style/IndentHeredoc:
+Layout/IndentHeredoc:
Enabled: false
# This doesn't take into account retrying from an exception
Lint/HandleExceptions:
Enabled: false
@@ -18,6 +23,18 @@
Style/EmptyLiteral:
Enabled: false
# allow the use of globals which makes sense in a CLI app like this
Style/GlobalVars:
+ Enabled: false
+
+# allow using %r{} for regexes
+Style/RegexpLiteral:
+ Enabled: false
+
+# allow readable Dev::Util.begin formatting
+Style/MultilineBlockChain:
+ Enabled: false
+
+# allow using names to be more expressive
+Performance/RedundantBlockCall:
Enabled: false