Skip to content

Commit

Permalink
test: limit lint rule disabling in message test
Browse files Browse the repository at this point in the history
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/node#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]>
  • Loading branch information
Trott authored and andrew749 committed Jul 19, 2017
1 parent 81fb65a commit d44615c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/message/nexttick_throw.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
});
Expand Down

0 comments on commit d44615c

Please sign in to comment.