nerf eslint to only lint vue files since vue support in biome is experimental
This commit is contained in:
parent
1c53ac84cc
commit
7f54d11834
7 changed files with 13 additions and 22 deletions
|
|
@ -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
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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] })
|
||||
|
|
|
|||
|
|
@ -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`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue