.rubocop.yml in danger-swiftformat-0.5.0 vs .rubocop.yml in danger-swiftformat-0.6.0
- old
+ new
@@ -1,11 +1,11 @@
# Defaults can be found here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
# If you don't like these settings, just delete this file :)
AllCops:
- TargetRubyVersion: 2.2
+ TargetRubyVersion: 2.3
Style/StringLiterals:
EnforcedStyle: double_quotes
Enabled: true
@@ -21,11 +21,11 @@
Lint/UselessAssignment:
Exclude:
- '**/spec/**/*'
# We could potentially enable the 2 below:
-Layout/IndentHash:
+Layout/IndentFirstHashElement:
Enabled: false
Layout/AlignHash:
Enabled: false
@@ -33,9 +33,12 @@
Layout/DotPosition:
Enabled: false
# We allow !! as it's an easy way to convert ot boolean
Style/DoubleNegation:
+ Enabled: false
+
+Style/FrozenStringLiteralComment:
Enabled: false
# Cop supports --auto-correct.
Lint/UnusedBlockArgument:
Enabled: false