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
Setter is defined without getter. #3381
Comments
Confirmed. Here's a further-reduced test case:
This is a regression from version 2.10.0, so we'll have a fix out for this ASAP. In the mean time, you have a few options: You could disable the warning for that method:
Or you could change the way you define the method (effectively hiding it from JSHint):
Or you could downgrade to JSHint 2.9.7 Thanks for the report! |
A fix is now up for review: #3382 |
Great job. Will be wait update. Thanks for the lib. |
Has some one trouble with Dynamic Imports. I think this is Regression too.
Lint message
jshint 2.10.2 If necessary, I can create a separate issue. |
@sergey-yarchuk-4ib "Dynamic import" is a non-standard language feature. It's currently at stage 3 in the language's proposal process, so according to JSHint's policy for new language features, we would certainly accept a patch which introduced support. Would you like to file a feature request? |
@sergey-yarchuk-4ib "Dynamic imports" are st stage 4, now. tc39/proposal-dynamic-import@43e869c |
I have a warning "Setter is defined without getter". I haven't setter or getter, have only method
set()
The text was updated successfully, but these errors were encountered: