manual lint

This commit is contained in:
Henry Jameson 2026-01-06 17:32:22 +02:00
commit 1c53ac84cc
36 changed files with 204 additions and 107 deletions

View file

@ -54,10 +54,15 @@ const ThreadTree = {
return selfSuspendable
},
reverseLookupTable() {
return this.conversation.reduce((table, status, index) => {
table[status.id] = index
return table
}, {})
return this.conversation.reduce(
(table, status, index) => {
table[status.id] = index
return table
},
{
/* no-op */
},
)
},
currentReplies() {
return this.getReplies(this.status.id).map(({ id }) =>
@ -75,9 +80,15 @@ const ThreadTree = {
statusById(id) {
return this.conversation[this.reverseLookupTable[id]]
},
collapseThread() {},
showThread() {},
showAllSubthreads() {},
collapseThread() {
/* no-op */
},
showThread() {
/* no-op */
},
showAllSubthreads() {
/* no-op */
},
toggleCurrentProp(name) {
this.toggleStatusContentProperty(this.status.id, name)
},