.rubocop.yml in simplecov-material-0.4.0 vs .rubocop.yml in simplecov-material-0.5.0
- old
+ new
@@ -138,11 +138,11 @@
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
Enabled: true
Lint/FormatParameterMismatch:
Description: The number of parameters to format/sprint must match the fields.
Enabled: true
-Lint/HandleExceptions:
+Lint/SuppressedException:
Description: Don't suppress exception.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
Enabled: true
Lint/LiteralInInterpolation:
Description: Checks for literals used in interpolation.
@@ -172,11 +172,11 @@
Enabled: true
Lint/ShadowingOuterLocalVariable:
Description: Do not use the same name as outer local variable for block arguments
or block local variables.
Enabled: true
-Lint/StringConversionInInterpolation:
+Lint/RedundantStringCoercion:
Description: Checks for Object#to_s usage in string interpolation.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
Enabled: true
Lint/UnderscorePrefixedVariableName:
Description: Do not use prefix `_` for a variable that is used.
@@ -301,18 +301,18 @@
Enabled: false
Style/Alias:
Description: Use alias_method instead of alias.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
Enabled: false
-Layout/AlignArray:
+Layout/ArrayAlignment:
Description: Align the elements of an array literal if they span more than one line.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
Enabled: true
-Layout/AlignHash:
+Layout/HashAlignment:
Description: Align the elements of a hash literal if they span more than one line.
Enabled: true
-Layout/AlignParameters:
+Layout/ParameterAlignment:
Description: Align the parameters of a method call if they span more than one line.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
Enabled: true
Style/AndOr:
Description: Use &&/|| instead of and/or.
@@ -480,11 +480,11 @@
Enabled: false
Layout/InitialIndentation:
Description: Checks the indentation of the first non-blank non-comment line in a
file.
Enabled: false
-Layout/IndentFirstArgument:
+Layout/FirstArgumentIndentation:
Description: Checks the indentation of the first parameter in a method call.
Enabled: false
Lint/FlipFlop:
Description: Checks for flip flops
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
@@ -524,14 +524,14 @@
Enabled: false
Layout/IndentationWidth:
Description: Use 2 spaces for indentation.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
Enabled: true
-Layout/IndentFirstArrayElement:
+Layout/FirstArrayElementIndentation:
Description: Checks the indentation of the first element in an array literal.
Enabled: false
-Layout/IndentFirstHashElement:
+Layout/FirstHashElementIndentation:
Description: Checks the indentation of the first key in a hash literal.
Enabled: false
Style/InfiniteLoop:
Description: Use Kernel#loop for infinite loops.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#infinite-loop
@@ -813,10 +813,10 @@
Enabled: false
Layout/Tab:
Description: No hard tabs.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
Enabled: false
-Layout/TrailingBlankLines:
+Layout/TrailingEmptyLines:
Description: Checks trailing blank lines and final newline.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
Enabled: false
Style/TrailingCommaInArguments:
Description: Checks for trailing comma in parameter lists.