-
Notifications
You must be signed in to change notification settings - Fork 97
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
should references to JSHINT be updated in favor ESLINT ? #155
Comments
jQuery Core & QUnit has switched from JSHint+JSCS to ESLint with the Perhaps we should mention both then, at least for the time being. @scottgonzalez, @arschmitz, do you plan to switch other projects eventually? If so, maybe it'd be best to emphasize ESLint and only mention that some projects still use JSHint. |
We plan on switching jQuery UI to standard. |
Thanks a lot. I think the ESLint 'jquery' config mentioned by mgol does not check the whole guide, i.e. the multi-line chain of method calls. Maybe a little cookbook should be provided on that topic? |
This is already mentioned at https://contribute.jquery.org/style-guide/js/#chained-method-calls. It's true we don't validate everything but it's often a side-effect of our tools not being able to do it all for us. That said, considering @scottgonzalez's reply, various jQuery projects will use incompatible code styles so we should perhaps just remove the whole JSHint description in favor of a short info that each project uses their own linter and that running |
Moved to jquery/contribute.jquery.org#141 |
The former can't be seen on jq core github. I can't see any .jshintrc file in the source.
So i can't grasp the instructions at :
https://contribute.jquery.org/style-guide/js/#linting
What should I do in order to lint correctly ?
The text was updated successfully, but these errors were encountered: