sisoe24 / Python-Easy-Print

Found unused variables in TypeScript code JS-0356
Performance
Major
11 days ago2 months old
'config' is defined but never used
 6import { printConstructor } from "./print_constructor";
 7import { PRINT_COMMANDS, DOCUMENT_COMMANDS } from "./statements";
 8import { getConfig } from "./config";
 9import { config } from "process";10
11export async function executeCommand(
12    statement: string
'key' is assigned a value but never used
58
59export function activate(context: vscode.ExtensionContext): void {
60    // Print Commands
61    for (const [key, statement] of Object.entries(PRINT_COMMANDS)) {62        context.subscriptions.push(
63            vscode.commands.registerCommand(statement.command, () => {
64                executeCommand(statement.statement);