clutchski/coffeelint

False positives for no_implicit_braces with private function

Closed this issue · 2 comments

I have the following code:

class Foo

  privateFun = -> 42

  fun: -> privateFun()

I lint with the following config:

{
  "no_implicit_braces": {
    "level": "warn"
  }
}

And I get:

#5: Implicit braces are forbidden.
swang commented

Should be fixed now in latest 2.x versions.

Thanks, I'll test it!