clutchski / coffeelint

Lint your CoffeeScript.
http://www.coffeelint.org
Other
1.18k stars 172 forks source link

False positives for no_implicit_braces with private function #606

Closed provegard closed 6 years ago

provegard commented 7 years ago

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 6 years ago

Should be fixed now in latest 2.x versions.

provegard commented 6 years ago

Thanks, I'll test it!