test,tools: enable linting for undefined vars

The test directory had linting for undefined variables disabled. It is
enabled everywhere else in the code base. Let's disable the fule for
individual lines in the handful of tests that use undefined variables.

PR-URL: https://github.com/nodejs/node/pull/6255
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
Rich Trott 2016-04-17 23:41:59 -07:00 committed by James M Snell
parent 8ede3d5002
commit 4faaed69fa
13 changed files with 19 additions and 26 deletions

View file

@ -10,7 +10,7 @@ let exceptionHandled = false;
process.nextTick(function() {
order.push('A');
// cause an error
what();
what(); // eslint-disable-line no-undef
});
// This nextTick function should remain in the queue when the first one