From 81f927116fe3aee14aee81cfb1034924f9d6a2f7 Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:58:15 -0500 Subject: [PATCH] Add issue link in comment (#586) --- lib/package-json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/package-json.ts b/lib/package-json.ts index 69a6ec61..797a46c0 100644 --- a/lib/package-json.ts +++ b/lib/package-json.ts @@ -78,7 +78,7 @@ export async function loadPlugin(path: string): Promise { if (extname(pluginEntryPointAbs) === '.json') { // For JSON files, have to require() instead of import(..., { assert: { type: 'json' } }) because of this error: // Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'. ts(1324) - // TODO: Switch to import() when we drop support for Node 14. + // TODO: Switch to import() when we drop support for Node 14. https://github.com/bmish/eslint-doc-generator/issues/585 return require(pluginEntryPointAbs) as Plugin; // eslint-disable-line import/no-dynamic-require }