chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 (#1228)

* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0

* actually apply the rules lol

* rebuild

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2024-04-23 00:40:51 +02:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> FabianLars
parent 8aacc312cf
commit faa89850d0
53 changed files with 217 additions and 194 deletions
+4 -4
View File
@@ -34,7 +34,7 @@ async function register(
const h = new Channel<string>();
h.onmessage = handler;
return await invoke("plugin:global-shortcut|register", {
await invoke("plugin:global-shortcut|register", {
shortcut,
handler: h,
});
@@ -62,7 +62,7 @@ async function registerAll(
const h = new Channel<string>();
h.onmessage = handler;
return await invoke("plugin:global-shortcut|register_all", {
await invoke("plugin:global-shortcut|register_all", {
shortcuts,
handler: h,
});
@@ -102,7 +102,7 @@ async function isRegistered(shortcut: string): Promise<boolean> {
* @since 2.0.0
*/
async function unregister(shortcut: string): Promise<void> {
return await invoke("plugin:global-shortcut|unregister", {
await invoke("plugin:global-shortcut|unregister", {
shortcut,
});
}
@@ -118,7 +118,7 @@ async function unregister(shortcut: string): Promise<void> {
* @since 2.0.0
*/
async function unregisterAll(): Promise<void> {
return await invoke("plugin:global-shortcut|unregister_all");
await invoke("plugin:global-shortcut|unregister_all");
}
export { register, registerAll, isRegistered, unregister, unregisterAll };