The padded-blocks rule allows you to require new lines at the beginning and end of blocks, including function bodies. In addition to function bodies, it also encompasses operator bodies if, loops for, whileand other block-like structures that you may or may not want.
demo, , :
function foo(bar) {
if (bar) {
foo();
}
}
, @Dhananjay .