Upgrade eslint and fix issues

This commit is contained in:
Gregory Schier
2025-06-23 14:09:09 -07:00
parent 7be2767527
commit 1438e8bacc
11 changed files with 1326 additions and 1267 deletions

View File

@@ -9,9 +9,8 @@ export async function tryFormatJson(text: string): Promise<string> {
try {
const result = await invokeCmd<string>('cmd_format_json', { text });
return result;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (err) {
console.warn("Failed to format JSON", err);
console.warn('Failed to format JSON', err);
// Nothing
}