Cheer up eslint - manual fixes

This commit is contained in:
Oliver Blanthorn 2022-05-24 14:36:16 +02:00
parent 4092e04f7d
commit f110647137
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
3 changed files with 1 additions and 5 deletions

View file

@ -32,8 +32,6 @@ export class TabGroupCompletionSource extends Completions.CompletionSourceFuse {
this._parent.appendChild(this.node)
}
async onInput(_: string) {}
async filter(exstr: string) {
this.lastExstr = exstr
const [prefix] = this.splitOnPrefix(exstr)

View file

@ -301,7 +301,6 @@ config.getAsync("modeindicator").then(mode => {
addContentStateChangedListener(async (property, oldMode, oldValue, newValue) => {
let mode = newValue
let group = ""
let suffix = ""
let result = ""
if (property !== "mode") {
@ -310,7 +309,6 @@ config.getAsync("modeindicator").then(mode => {
suffix = newValue
} else if (property === "group") {
mode = oldMode
group = newValue
}
}

View file

@ -36,7 +36,7 @@ export async function setTgroups(groups: Set<string>) {
*
*/
export function clearTgroups() {
removeActiveWindowValue("tridactyl-tgroups")
return removeActiveWindowValue("tridactyl-tgroups")
}
/**