jscs-dev / node-jscs

:arrow_heading_up: JavaScript Code Style checker (unmaintained)
https://jscs-dev.github.io
MIT License
4.96k stars 510 forks source link

JSCS crashes due to decorators #2288

Closed trikadin closed 8 years ago

trikadin commented 8 years ago
function decorator() {
    return () => {};
}

class Foo {
    @decorator()
    get bar() {
        return 'bla';
    }
}

Sometimes it just hangs, sometimes writes "Expected end of node list but "Punctuator" found".

markelog commented 8 years ago

Replaced with https://github.com/cst/cst/issues/132