We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Suppose you have two files in your working directory:
test1.js:
test1.js
/*jslint browser, this */ document.createElement("div"); console.log(this);
and test2.js:
test2.js
document.createElement("div"); console.log(this);
jslint --edition=es6 test1.js test2.js outputs:
jslint --edition=es6 test1.js test2.js
test1.js is OK. test2.js is OK.
while reverting the order jslint --edition=es6 test2.js test1.js:
jslint --edition=es6 test2.js test1.js
test2.js #1 Undeclared 'document'. document.createElement("div"); // Line 0, Pos 0 #2 Unexpected 'this'. console.log(this); // Line 1, Pos 12 test1.js is OK.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
Sorry, something went wrong.
No branches or pull requests
Suppose you have two files in your working directory:
test1.js
:and
test2.js
:jslint --edition=es6 test1.js test2.js
outputs:while reverting the order
jslint --edition=es6 test2.js test1.js
:The text was updated successfully, but these errors were encountered: