master
end_line = @start_match[3].nil? ? from_line : @start_match[3].to_i
:
This cop checks for extra/unnecessary whitespace.
# good if AllowForAlignment is truename = "RuboCop"# Some comment and an empty line website += "/bbatsov/rubocop" unless condputs "rubocop" if debug # bad for any configurationset_app("RuboCop")website = "https://github.com/bbatsov/rubocop"
Checks that operators have space around them, except for ** which should not have surrounding space.
# badtotal = 3*4"apple"+"juice"my_number = 38/4a ** b # goodtotal = 3 * 4"apple" + "juice"my_number = 38 / 4a**b