Skip to content

Commit

Permalink
Add issue link in comment (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish authored Dec 9, 2024
1 parent 3c0cb1a commit 81f9271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function loadPlugin(path: string): Promise<Plugin> {
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
}

Expand Down

0 comments on commit 81f9271

Please sign in to comment.