tailor icon indicating copy to clipboard operation
tailor copied to clipboard

function-whitespace

Open nikitaame opened this issue 8 years ago • 2 comments

"Every function and method declaration should have one blank line before and after itself. An exception to this rule are functions that are declared at the start of a file (only need one blank line after their declaration) or at the end of a file (only need one blank line before their declaration). "

The exception to this doesn't seem to be working when using the out of the box default. It is asking for white-space after my last function in a class.

nikitaame avatar Feb 16 '17 19:02 nikitaame

+1

arctouch-marcelogobetti avatar Feb 22 '17 19:02 arctouch-marcelogobetti

not sure about "files" as mentioned in the quote, but we would like to have that warning turned off for the first and the last function in a struct/class/enum/etc.

arctouch-marcelogobetti avatar Feb 22 '17 19:02 arctouch-marcelogobetti