Skip to content

Commit 81f9271

Browse files
authored
Add issue link in comment (#586)
1 parent 3c0cb1a commit 81f9271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/package-json.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export async function loadPlugin(path: string): Promise<Plugin> {
7878
if (extname(pluginEntryPointAbs) === '.json') {
7979
// For JSON files, have to require() instead of import(..., { assert: { type: 'json' } }) because of this error:
8080
// Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'. ts(1324)
81-
// TODO: Switch to import() when we drop support for Node 14.
81+
// TODO: Switch to import() when we drop support for Node 14. https://github.com/bmish/eslint-doc-generator/issues/585
8282
return require(pluginEntryPointAbs) as Plugin; // eslint-disable-line import/no-dynamic-require
8383
}
8484

0 commit comments

Comments
 (0)