config/rubocop.yml in pulis-0.1.9 vs config/rubocop.yml in pulis-0.1.10
- old
+ new
@@ -17,10 +17,35 @@
Enabled: false
CommentAnnotation:
Enabled: false
+Layout/AlignParameters:
+ EnforcedStyle: with_fixed_indentation
+
+Layout/CaseIndentation:
+ EnforcedStyle: end
+
+Layout/IndentHash:
+ Enabled: false
+
+Layout/IndentationWidth:
+ Enabled: false
+
+Layout/MultilineOperationIndentation:
+ Enabled: false
+
+Layout/SpaceBeforeBlockBraces:
+ EnforcedStyle: space
+
+Layout/SpaceInsideBlockBraces:
+ EnforcedStyle: space
+ SpaceBeforeBlockParameters: false
+
+Layout/SpaceInsideHashLiteralBraces:
+ EnforcedStyle: no_space
+
# NOTE チームで推奨しているスタイルを差異があるため
Lint/BlockAlignment:
Enabled: false
Lint/EndAlignment:
@@ -89,13 +114,10 @@
Enabled: true
RedundantSelf:
Enabled: false
-Style/AlignParameters:
- EnforcedStyle: with_fixed_indentation
-
Style/AsciiComments:
Enabled: false
Style/BlockDelimiters:
Enabled: false
@@ -104,13 +126,10 @@
EnforcedStyle: no_braces
Style/CaseEquality:
Enabled: false
-Style/CaseIndentation:
- EnforcedStyle: end
-
Style/ClassAndModuleChildren:
Enabled: false
Style/CollectionMethods:
Enabled: false
@@ -125,25 +144,16 @@
MinBodyLength: 3
Style/IfUnlessModifier:
MaxLineLength: 60
-Style/IndentHash:
- Enabled: false
-
-Style/IndentationWidth:
- Enabled: false
-
Style/Lambda:
Enabled: false
Style/MultilineBlockChain:
Enabled: false
-Style/MultilineOperationIndentation:
- Enabled: false
-
# NOTE () で統一していたため [] への変更はしない
Style/PercentLiteralDelimiters:
PreferredDelimiters:
default: ()
'%r': '{}'
@@ -158,19 +168,9 @@
Style/Semicolon:
Enabled: false
Style/SignalException:
EnforcedStyle: only_raise
-
-Style/SpaceBeforeBlockBraces:
- EnforcedStyle: space
-
-Style/SpaceInsideBlockBraces:
- EnforcedStyle: space
- SpaceBeforeBlockParameters: false
-
-Style/SpaceInsideHashLiteralBraces:
- EnforcedStyle: no_space
Style/TrailingUnderscoreVariable:
Enabled: false
Style/VariableNumber: