newline_after_classes is still acting a bit weird
Opened this issue · 4 comments
swang commented
See 03b8244#commitcomment-13728928 for initial comment about this.
startswithaj commented
I put the whole file in a gist >>
https://gist.github.com/startswithaj/ef410b67bcd80b9a272f
Not in the screen shot I have 28 lines.
startswithaj commented
VictorHagsand commented
Also still have strange issues with this.
jekuno commented
I can reproduce the error with a stripped down example:
class MyClass
myFunction: ->
someVar = "someText"
someVar
Produces the error
#4: Wrong count of newlines between a class and other code. Expected 3 got 2.
The stripped down coffelint.json
:
{
"newlines_after_classes": {
"value": 3,
"level": "warn"
}
}
The error disappears after removing the blank line in the function body.