angelozerr / tern.java

Use tern.js in Java context
http://ternjs.net/
Other
249 stars 52 forks source link

latest ESLint support. #459

Open balfouri1210 opened 6 years ago

balfouri1210 commented 6 years ago

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.

clowtown commented 6 years ago

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

jabby commented 6 years ago

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

angelozerr commented 6 years ago

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.!