Skip to content

Commit 1e52ba3

Browse files
Trottitaloacasas
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: #11724 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent 5e7baa5 commit 1e52ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/message/nexttick_throw.js

+1-1
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)