Setup typescript-eslint

Configure eslint to work with TypeScript via the typescript-eslint
plugin.
This commit is contained in:
Hornwitser committed 2023-11-19 04:50:07 +01:00
1 parent b78ca31b09
commit af9ed19af0
8 files changed
+55 -21

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ export async function handlePluginCommand(
let pluginInfo: { name: string };
try {
// eslint-disable-next-line node/global-require
// eslint-disable-next-line @typescript-eslint/no-var-requires
pluginInfo = require(pluginPath).default;
} catch (err: any) {
logger.error(`Unable to import plugin info from ${args.path}:\n${err.stack}`);