clutchski/coffeelint

Coffeelint hangs on file with import/export and backslash line continuation

bzalasky opened this issue · 3 comments

Take a module like this:

import MyClassA from 'my-class-a'
import MyClassB from 'my-class-b'
import MyClassC from 'my-class-c'
import MyClassD from 'my-class-d'

export default class AnotherClass extends MyClassA MyClassB \
        MyClassC MyClassD
    myMethod: -> ...

Running coffeelint another-class.coffee will hang, and eat up almost all my laptop's CPU and memory. If I switch back to AMD or CommonJS, line continuation doesn't cause any issues. If I remove the line continuation, the ES module will be linted as expected.

I guess there is a massive activity going on with CS2. I wonder if you should try coffeelint utility from branch cs2 which is a pull request #596.

swang commented

Fixed in #617, released in v2.0.3

Awesome, thanks @swang!