nl_max_blank_in_func

The maximum number of consecutive newlines in a function.

It's same as nl_max but works only inside functions

Examples

If config is nl_max_blank_in_func = 1 all the empty lines (only inside functions) will be removed:

int getTwo()
{
    return 1;

}

transformed to

int getTwo()
{
    return 1;
}

See also