tern.java icon indicating copy to clipboard operation
tern.java copied to clipboard

JSCS validation not working

Open kkoo95 opened this issue 10 years ago • 1 comments

Hi. I wasn't able to make JSCS validation working. I am using Tern 1.2.0 in Eclipse Mars. I am using a specific config file (simply called .jscsrc) at the root of my eclipse project which contains something like this:

{
    "requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
    "disallowMultipleLineBreaks": true,
}

And no error is detected for my invalid js file when I right-click Validate. I can see from console trace that Tern is trying something but that's it. No message is returned.

PS: I was able to get ESLint working.

kkoo95 avatar Mar 10 '16 00:03 kkoo95

To be honnest with you, I have developped quickly JSCS linter, I have no time to support it, any contribition are welcome!

angelozerr avatar Mar 11 '16 08:03 angelozerr