lib/rubocop/cop/layout/indent_first_parameter.rb in rubocop-0.68.1 vs lib/rubocop/cop/layout/indent_first_parameter.rb in rubocop-0.69.0
- old
+ new
@@ -14,11 +14,11 @@
# first_param,
# second_param)
# 123
# end
#
- # @example EnforcedStyle: consistent
+ # @example EnforcedStyle: consistent (default)
# # The first parameter should always be indented one step more than the
# # preceding line.
#
# # good
# def some_method(
@@ -41,10 +41,10 @@
include Alignment
include ConfigurableEnforcedStyle
include MultilineElementIndentation
MSG = 'Use %<configured_indentation_width>d spaces for indentation ' \
- 'in method args, relative to %<base_description>s.'.freeze
+ 'in method args, relative to %<base_description>s.'
def on_def(node)
return if node.arguments.empty?
return if node.arguments.loc.begin.nil?