Coffeelint hangs on file with import/export and backslash line continuation
bzalasky opened this issue · 3 comments
bzalasky commented
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.
eugenet8k commented