jscs-dev / node-jscs

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

JSCS crashes due to decorators #2288

Closed trikadin closed 7 years ago

trikadin commented 7 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 7 years ago

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