config/rubocop.yml in pulis-0.1.18 vs config/rubocop.yml in pulis-0.1.19
- old
+ new
@@ -15,23 +15,23 @@
- log/**/*
TargetRubyVersion: 2.5
# NOTE 4 系を利用している場合は書き換える
TargetRailsVersion: 5.0
-AndOr:
+Style/AndOr:
Enabled: false
-CommentAnnotation:
+Style/CommentAnnotation:
Enabled: false
-Layout/AlignParameters:
+Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/CaseIndentation:
EnforcedStyle: end
-Layout/IndentFirstHashElement:
+Layout/FirstHashElementIndentation:
Enabled: false
Layout/IndentationWidth:
Enabled: false
@@ -112,11 +112,11 @@
Enabled: false
Naming/VariableNumber:
EnforcedStyle: snake_case
-NumericLiterals:
+Style/NumericLiterals:
MinDigits: 12
Performance/RedundantMatch:
Enabled: false
@@ -133,11 +133,11 @@
Enabled: false
Rails/Validation:
Enabled: true
-RedundantSelf:
+Style/RedundantSelf:
Enabled: false
Style/AsciiComments:
Enabled: false
@@ -199,10 +199,10 @@
Enabled: false
Style/WhenThen:
Enabled: false
-SingleLineMethods:
+Style/SingleLineMethods:
Enabled: false
Style/MethodCallWithoutArgsParentheses:
Enabled: true