Browse Source

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>
v6
Rich Trott 8 years ago
committed by James M Snell
parent
commit
7e0410499d
  1. 2
      test/message/nexttick_throw.js

2
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;
});
});

Loading…
Cancel
Save