Add rubocop rules about newlines
Not all of these are covered by Rubocop: https://docs.gitlab.com/ee/development/newlines_styleguide.html
We should try to add them so it's picked automatically by the tests :)
-
Rule: separate code with newlines only to group together related logic -
Rule: separate code and block with newlines -
Newline before block -
Newline after block -
Exception: no need for newline when code block starts or ends right inside another code block
-
Edited by Kyle Wiebers