Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[note] ESLint #87

Open
paulvi opened this issue Apr 21, 2014 · 2 comments
Open

[note] ESLint #87

paulvi opened this issue Apr 21, 2014 · 2 comments

Comments

@paulvi
Copy link
Contributor

paulvi commented Apr 21, 2014

for note and references

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

TODO: compare, try

@SamHasler
Copy link

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
Copy link

If you are interested I have started to integrate ESLInt inside Eclipse angelozerr/tern.java#234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants