clutchski/coffeelint

no_implicit_braces false positive with `extends a.b`

Closed this issue · 0 comments

$ cat coffeelint.json
{
  "no_implicit_braces": {"level": "error"}
}
$ cat tst.coffee
class A extends B.C
  constructor: ->
$ bin/coffeelint tst.coffee
  ✗ tst.coffee
     ✗ #2: Implicit braces are forbidden.

✗ Lint! » 1 error and 0 warnings in 1 file

Workaround:

{C} = B
class A extends C
  constructor: ->

Use case: akhodakivskiy/VimFx@0f28010

Tested with latest master (commit d8df418).