From 5f2fdd77f0cfbe43034d02353a3f02cd74cc53f4 Mon Sep 17 00:00:00 2001 From: Sergio Padrino Date: Mon, 16 Aug 2021 09:09:44 +0200 Subject: [PATCH] Fix copy&pasted comment :facepalm: --- eslint-rules/set-almost-immediate.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint-rules/set-almost-immediate.js b/eslint-rules/set-almost-immediate.js index ff4918d392..e7987cbd9c 100644 --- a/eslint-rules/set-almost-immediate.js +++ b/eslint-rules/set-almost-immediate.js @@ -35,7 +35,8 @@ module.exports = { const sourceCode = context.getSourceCode() /** - * Check each member of the interface body and ensure it is marked `readonly`. + * Check if a type annotation contains any references to NodeJS.Immediate + * and report them to be changed to AlmostImmediate. * * @param {TSTypeAnnotation} node * @param {TypeNode} typeAnnotation