tern.java
tern.java copied to clipboard
JSCS validation not working
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.
To be honnest with you, I have developped quickly JSCS linter, I have no time to support it, any contribition are welcome!