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.x
Rich Trott 8 years ago
committed by Myles Borins
parent
commit
4befdd1c13
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  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