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
esnext: System.import -> Expected an identifier #2120
Comments
Can you share the entire JSHint configuration? JSHint allows ReservedWords as properties by default for ES5+ (ES5 is the default). |
I can't reproduce that here. The following passes in JSHint 2.5.11 /*jshint esnext: true */
'use strict';
System.import('app/app').then(function (app) {
app.start();
}); I can reproduce that error if I enable /*jshint esnext: true */
'use strict';
System.import('app/app').then(function (app) {
app.start();
}); ...but that also triggers a warning about the
|
This is my .jshintrc
If I remove |
The problem is that you are using both |
Should JSHint 3 try to fix things like this? |
Awesome. |
I'm using jshint 2.5.11 to lint this code
Using
And I get the error
System JS
The text was updated successfully, but these errors were encountered: