diff options
author | Rich Trott <rtrott@gmail.com> | 2017-03-07 02:54:55 +0300 |
---|---|---|
committer | Italo A. Casas <me@italoacasas.com> | 2017-03-13 18:19:23 +0300 |
commit | 1e52ba3b3defeb73637d87b4c49b7039b95b0f9b (patch) | |
tree | 873cc80285c8dafc67e68f35474b4472a2e29e95 /test | |
parent | 5e7baa5a72dc28338dfa495788bf2b52132d6aa8 (diff) |
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>
Diffstat (limited to 'test')
-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 49cd6dd0f7c..0c655a8e2e4 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; }); }); |