mirror of
https://github.com/dergigi/boris.git
synced 2026-01-04 23:44:21 +01:00
fix: resolve linter errors
- Remove unused imports in ReadingDisplaySettings and useBookmarksData - Add eslint-disable comments for unavoidable any types from applesauce library - All lint and type-check validations now pass
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useMemo } from 'react'
|
||||
import React from 'react'
|
||||
import { faHighlighter, faUnderline } from '@fortawesome/free-solid-svg-icons'
|
||||
import { UserSettings } from '../../services/settingsService'
|
||||
import IconButton from '../IconButton'
|
||||
|
||||
@@ -5,11 +5,12 @@ import { Highlight } from '../types/highlights'
|
||||
import { fetchBookmarks } from '../services/bookmarkService'
|
||||
import { fetchHighlights, fetchHighlightsForArticle } from '../services/highlightService'
|
||||
import { fetchContacts } from '../services/contactService'
|
||||
import { Account } from 'applesauce-core/account'
|
||||
|
||||
interface UseBookmarksDataParams {
|
||||
relayPool: RelayPool | null
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
activeAccount: any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
accountManager: any
|
||||
naddr?: string
|
||||
currentArticleCoordinate?: string
|
||||
|
||||
@@ -7,6 +7,7 @@ import { createHighlight, eventToHighlight } from '../services/highlightCreation
|
||||
import { HighlightButtonRef } from '../components/HighlightButton'
|
||||
|
||||
interface UseHighlightCreationParams {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
activeAccount: any
|
||||
relayPool: RelayPool | null
|
||||
currentArticle: NostrEvent | undefined
|
||||
|
||||
Reference in New Issue
Block a user