nerf eslint to only lint vue files since vue support in biome is experimental

This commit is contained in:
Henry Jameson 2026-01-06 18:04:11 +02:00
commit 7f54d11834
7 changed files with 13 additions and 22 deletions

View file

@ -105,14 +105,12 @@ const MentionLink = {
},
style() {
if (this.highlight) {
/* eslint-disable no-unused-vars */
const {
backgroundColor,
backgroundPosition,
backgroundImage,
...rest
} = highlightStyle(this.highlight)
/* eslint-enable no-unused-vars */
return rest
}
},

View file

@ -445,7 +445,6 @@ const Status = {
return uniqBy(combinedUsers, 'id')
},
tags() {
// eslint-disable-next-line no-prototype-builtins
return this.status.tags
.filter((tagObj) => Object.hasOwn(tagObj, 'name'))
.map((tagObj) => tagObj.name)

View file

@ -113,7 +113,6 @@ export const notifications = {
}
// Only add a new notification if we don't have one for the same action
// eslint-disable-next-line no-prototype-builtins
if (!Object.hasOwn(state.idStore, notification.id)) {
commit('updateNotificationsMinMaxId', notification.id)
commit('addNewNotifications', { notifications: [notification] })

View file

@ -591,10 +591,8 @@ export const useServerSideStorageStore = defineStore('serverSideStorage', {
if (!needUpload && recent && stale) {
console.debug('Checking if data needs merging...')
// discarding timestamps and versions
/* eslint-disable no-unused-vars */
const { _timestamp: _0, _version: _1, ...recentData } = recent
const { _timestamp: _2, _version: _3, ...staleData } = stale
/* eslint-enable no-unused-vars */
dirty = !isEqual(recentData, staleData)
console.debug(`Data ${dirty ? 'needs' : "doesn't need"} merging`)
}