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 goes into infinite loop #2286

Closed igor10k closed 8 years ago

igor10k commented 8 years ago

Here's the sample file.

class Test {
  test() {};
}

Semicolon is what causes the loop. CPU goes up to ≈100%. The process never ends.

.jscsrc looks like this

{
  "preset": "airbnb"
}

JSCS 3.0.6, Node 6.2.2

markelog commented 8 years ago

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

markelog commented 8 years ago

Should work now