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

latest ESLint support.

Open balfouri1210 opened this issue 6 years ago • 3 comments

Hi.

I converted my project to 'tern', made .eslintrc.json config file and Everything worked fine.

But the problem is this module doesn't handle some eslint rules. ( ex. func-call-spacing )

With this rule, eclipse gives me an error - [ESLint]: Definition for rule 'func-call-spacing' was not found.

Is this module doesn't support latest ESLint rules?

or did I miss something?

Please give me some advice.

Thanks.

balfouri1210 avatar Nov 08 '17 06:11 balfouri1210

Any updates on this, or a proper strategy to update the rules based on latest npm pull of eslint rules?

clowtown avatar Sep 05 '18 14:09 clowtown

Hello I'm not sure @angelozerr has time to work on this. Instead, you can have a try https://github.com/mickaelistria/eclipse-bluesky I'm not sure it will ber sufficient for your need but there is some work in progress. Bluesky will be renamed to Eclipse Wild Web Developer. You can find more information here : https://projects.eclipse.org/proposals/eclipse-wild-web-developer

jabby avatar Sep 05 '18 20:09 jabby

Indeed I have not time to continue to support tern.java, but I think the future of Eclipse IDE is https://github.com/mickaelistria/eclipse-bluesky based on Language Server Protocol. This project provides a fantastic completion, validation etc for JavaScript/TypeScript (same feature than VSCode) and you should manage your lint with tslint (which should work with JS too). I had create a TypeScript plugin for that https://github.com/angelozerr/tslint-language-service but Microsoft guys are creating a new project for that.

It seems too that it exists an eslint Language Server, see https://github.com/mickaelistria/eclipse-bluesky/issues/49 but I need to study it.

Thanks @jabby for your comment.!

angelozerr avatar Sep 06 '18 07:09 angelozerr