Skip to content

Commit 40a7319

Browse files
Trottjungx098
authored andcommitted
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: nodejs#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>
1 parent 5875744 commit 40a7319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/message/nexttick_throw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ process.nextTick(function() {
55
process.nextTick(function() {
66
process.nextTick(function() {
77
process.nextTick(function() {
8-
// eslint-disable-next-line
8+
// eslint-disable-next-line no-undef
99
undefined_reference_error_maker;
1010
});
1111
});

0 commit comments

Comments
 (0)