-
Notifications
You must be signed in to change notification settings - Fork 15
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
JSHINT expr
to ESLINT no-unused-expressions
#92
Comments
The result to which other JSHINT
Results in ESLint
Expected ESLint rules
Only option "sub" was correctly converted, but others were not. |
I found out that several options which suppresses warning are included in JSHINT
Results in ESLint
Expected ESLint rules
Options except "shadow" were not converted correctly. |
Given this JSHINT rule: http://jshint.com/docs/options/#expr
Results in ESLint: https://eslint.org/docs/rules/no-unused-expressions
Expected ESLint rule:
Generally, JSHINT
Relaxing options
suppress warnings whentrue
is specified.The text was updated successfully, but these errors were encountered: