mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
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:
parent
8ede3d5002
commit
4faaed69fa
13 changed files with 19 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue