sloc icon indicating copy to clipboard operation
sloc copied to clipboard

Closing brackets/etc should not be counted as source code

Open stevenvachon opened this issue 11 years ago • 2 comments

For C-like languages (such as JavaScript), lines containing only a combination of white space, brackets, colons and/or semicolons—{,},[,],(,),({,}),([,]),};,];,);,});,]);,;,:,etc—should not be counted as source code.

stevenvachon avatar Sep 21 '14 18:09 stevenvachon

Do you mind to write a patch? Otherwise you might have to wait a bit ;-)

flosse avatar Sep 25 '14 21:09 flosse

I can wait, I just thought it'd be worthwhile to tell you while I'd thought of it. I'm not against writing this, I just have many critical things to fix in other libs. If I do find time, I'll try to work on it, though.

stevenvachon avatar Sep 25 '14 21:09 stevenvachon