Commit Graph

3 Commits

Author SHA1 Message Date
Robert Speicher 24fc237710
Fix LineBreakAroundConditionalBlock cop for a conditional after rescue
Previously this would violate on the `if`:

    def a_method
      do_something
    rescue
      if condition
        do_something
      end
    end
2018-09-05 09:34:11 -07:00
Rémy Coutable 1c5106fadf
Allow comment after if/unless clause
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-29 10:38:59 +02:00
🙈 jacopo beschi 🙉 729f05f0e3 Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00