-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
LTS: backport no-unused-vars to v4.x-staging #4688
Commits on Jan 14, 2016
-
Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests. PR-URL: nodejs#4684 Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dba3dc5 - Browse repository at this point
Copy the full SHA dba3dc5View commit details -
Some files in `lib` were using `require` to load modules that were subsequently not used in the file. This removes those `require` statements. PR-URL: nodejs#4683 Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46e3fd6 - Browse repository at this point
Copy the full SHA 46e3fd6View commit details -
Remove unused vars in tests PR-URL: nodejs#4536 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7894f19 - Browse repository at this point
Copy the full SHA 7894f19View commit details -
test: remove unused vars in ChildProcess tests
In addition to removing unused vars, this also fixes an instance where booleans were set presumably to check something but then never used. This now confirms that the events that were setting the booleans are fired. PR-URL: nodejs#4425 Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e36811b - Browse repository at this point
Copy the full SHA e36811bView commit details -
test: remove unused variables from net tests
Remove a handful of variables that are declared but never used in the tests for the net module. PR-URL: nodejs#4430 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c094be - Browse repository at this point
Copy the full SHA 8c094beView commit details -
test: remove unused variables from HTTPS tests
PR-URL: nodejs#4426 Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba1847d - Browse repository at this point
Copy the full SHA ba1847dView commit details -
test: remove unused variables from TLS tests
Some of the TLS tests have variables that do not get used. This removes those variables. PR-URL: nodejs#4424 Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c30944 - Browse repository at this point
Copy the full SHA 7c30944View commit details -
test: extend timeout in Debug mode
Debug mode slows execution speed. There is work afoot to enable Debug mode runs on the continuous integration infrastructure for the project. Some tests are timing out, such as test-net-nodejsGH-5504.js. This change doubles the timeout returned from `common.platformTimeout()` when running in Debug mode. It also removes an unused variable from the aforementioned test-net-nodejsGH-5504.js. PR-URL: nodejs#4431 Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36d28ce - Browse repository at this point
Copy the full SHA 36d28ceView commit details -
test: remove unused variables form http tests
The http tests seem especially prone to including unused variables. This change removes them. PR-URL: nodejs#4422 Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb53af2 - Browse repository at this point
Copy the full SHA eb53af2View commit details -
test: remove unused vars from parallel tests
Remove all remaining unused variables from tests in test/parallel. PR-URL: nodejs#4511 Reviewed-By: James M Snell<[email protected]> Reviewed-By: Johan Bergström <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3b150c - Browse repository at this point
Copy the full SHA b3b150cView commit details -
tools: implement no-unused-vars for eslint
PR-URL: nodejs#4536 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef5e9ef - Browse repository at this point
Copy the full SHA ef5e9efView commit details