Chore: Add code formatting conventions as eslint rules (#5158)

* Add code formatting conventions as eslint rules

* Improve formatting in addQuickReply
This commit is contained in:
Cohee
2026-02-15 01:16:34 +02:00
committed by GitHub
parent d118eee014
commit 357da3219b
94 changed files with 366 additions and 566 deletions
-4
View File
@@ -455,7 +455,6 @@ async function changeName(handle, name, callback) {
toastr.success('Name changed successfully', 'Name Changed');
callback();
} catch (error) {
console.error('Error changing name:', error);
}
@@ -495,7 +494,6 @@ async function restoreSnapshot(name, callback) {
} catch (error) {
console.error('Error restoring snapshot:', error);
}
}
/**
@@ -601,7 +599,6 @@ async function viewSettingsSnapshots() {
const content = await loadSnapshotContent(snapshot.name);
contentBlock.val(content);
}
});
template.find('.snapshotList').append(snapshotBlock);
}
@@ -667,7 +664,6 @@ async function resetEverything(callback) {
} catch (error) {
console.error('Error resetting everything:', error);
}
}
async function openUserProfile() {