.layout.yml in ruby_coding_standard-0.2.0 vs .layout.yml in ruby_coding_standard-0.3.0
- old
+ new
@@ -1,16 +1,16 @@
Layout/AccessModifierIndentation:
EnforcedStyle: indent
-Layout/AlignArguments:
+Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
-Layout/AlignHash:
+Layout/HashAlignment:
EnforcedHashRocketStyle: key
EnforcedColonStyle: key
-Layout/AlignParameters:
+Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/BlockAlignment:
EnforcedStyleAlignWith: start_of_block
@@ -100,32 +100,31 @@
Enabled: false
Layout/HeredocArgumentClosingParenthesis:
Enabled: true
-Layout/IndentAssignment:
+Layout/AssignmentIndentation:
Enabled: true
-Layout/IndentFirstArgument:
+Layout/FirstArgumentIndentation:
Enabled: true
EnforcedStyle: consistent
-Layout/IndentFirstArrayElement:
+Layout/FirstArrayElementIndentation:
Enabled: true
EnforcedStyle: consistent
-Layout/IndentFirstHashElement:
+Layout/FirstHashElementIndentation:
Enabled: true
EnforcedStyle: consistent
-Layout/IndentFirstParameter:
+Layout/FirstParameterIndentation:
Enabled: true
EnforcedStyle: consistent
-Layout/IndentHeredoc:
+Layout/HeredocIndentation:
Enabled: true
- EnforcedStyle: squiggly
Layout/IndentationConsistency:
Enabled: true
EnforcedStyle: normal
@@ -134,11 +133,11 @@
Width: 2
Layout/InitialIndentation:
Enabled: true
-Layout/LeadingBlankLines:
+Layout/LeadingEmptyLines:
Enabled: true
Layout/LeadingCommentSpace:
Enabled: true
@@ -264,15 +263,20 @@
Layout/SpaceInsideReferenceBrackets:
Enabled: true
EnforcedStyle: no_space
EnforcedStyleForEmptyBrackets: no_space
-Layout/Tab:
+Layout/IndentationStyle:
Enabled: true
-Layout/TrailingBlankLines:
+Layout/TrailingEmptyLines:
Enabled: true
EnforcedStyle: final_newline
Layout/TrailingWhitespace:
Enabled: true
AllowInHeredoc: false
+
+Layout/LineLength:
+ Enabled: true
+ IgnoreCopDirectives: true
+ Max: 120