eclipsesource / jshint-eclipse

JSHint integration for the Eclipse IDE
http://github.eclipsesource.com/jshint-eclipse/
146 stars 31 forks source link

[note] ESLint #87

Open paulvi opened 10 years ago

paulvi commented 10 years ago

for note and references

While #75 ran into blocking JSHint issue.
Can @eslint https://github.com/eslint/eslint be used?

TODO: compare, try

SamHasler commented 10 years ago

It looks like eslint is the healthier project:

https://github.com/jshint/jshint/pulse/monthly https://github.com/eslint/eslint/pulse/monthly

However, eslint's parser doesn't do progressive parsing:

How ESLint differs from JSHint

Despite similar goals, ESLint and JSHint have some very specific differences. First and foremost, JSHint uses a progressive parser, finding errors along the way. ESLint uses Esprima, so the parsing is done first and then the rules are applied. That means JSHint will print out warnings up to and including a syntax error where ESLint will show only the syntax error. This makes JSHint much better for use in editors.

Esprima does have an issue for incremental parsing but it doesn't look like anyone's actively working on it.

angelozerr commented 9 years ago

If you are interested I have started to integrate ESLInt inside Eclipse https://github.com/angelozerr/tern.java/issues/234