diff options
author | Rich Trott <rtrott@gmail.com> | 2017-03-06 15:54:55 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-03-08 09:34:39 -0800 |
commit | 7e0410499d8816d67737c7232a898e8d67925b3b (patch) | |
tree | cff8ddbbe9fbae6f5071c7220b8c5df6dd262ec0 | |
parent | 5f32024055adc2f908c582d933259f9fcf5db423 (diff) | |
download | node-new-7e0410499d8816d67737c7232a898e8d67925b3b.tar.gz |
test: limit lint rule disabling in message test
nexttick_throw.js has a comment that disables all ESLint rules for a
line. Change it to only disable the one ESLint rule that the line
violates.
PR-URL: https://github.com/nodejs/node/pull/11724
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
-rw-r--r-- | test/message/nexttick_throw.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/message/nexttick_throw.js b/test/message/nexttick_throw.js index 49cd6dd0f7..0c655a8e2e 100644 --- a/test/message/nexttick_throw.js +++ b/test/message/nexttick_throw.js @@ -5,7 +5,7 @@ process.nextTick(function() { process.nextTick(function() { process.nextTick(function() { process.nextTick(function() { - // eslint-disable-next-line + // eslint-disable-next-line no-undef undefined_reference_error_maker; }); }); |