Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Oct 15, 2023
1 parent 6c8f7a2 commit b972323
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/core/classes/cloude-service/dropbox-client.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Dropbox, files } from 'dropbox'
import { Auth } from './auth'
import { CloudServiceClient } from './cloud-service-client'
import type { CloudServiceClient } from './cloud-service-client'

const hostUrl = `${location.protocol}//${location.host}`
export class DropboxClient extends Auth implements CloudServiceClient {
Expand Down
3 changes: 2 additions & 1 deletion src/core/classes/rom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { isAbsolute, parse, relative } from 'path-browserify'
import { extSystemMap, systemNamesSorted } from '../constants/systems'
import { getCover, parseGoodCode } from '../helpers/misc'
import { type FileAccessor } from './file-system-providers/file-accessor'
import { ArcadeGameInfo, GamesDatabase } from './games-database'
import type { ArcadeGameInfo } from './games-database'
import { GamesDatabase } from './games-database'
import { type Entry } from './libretrodb/types'
import { PreferenceParser } from './preference-parser'

Expand Down
2 changes: 1 addition & 1 deletion src/core/internal/emitter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mitt from 'mitt'
import { Rom } from '..'
import type { Rom } from '..'
import { PreferenceParser } from '../classes/preference-parser'
import { addHistoryItem } from '../helpers/history'

Expand Down
2 changes: 1 addition & 1 deletion src/views/components/common/loading-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from 'react'
import type { ReactNode } from 'react'

interface MenuLoadingProps {
children: ReactNode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { clsx } from 'clsx'
import { JSX } from 'react'
import type { JSX } from 'react'

type IntrinsicButtonProps = Partial<JSX.IntrinsicElements['button']>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { uniq } from 'lodash-es'
import { useAsync } from 'react-use'
import { Rom } from '../../../../core'
import type { Rom } from '../../../../core'
import { DistrictIcon } from './district-icon'

export function GameTitle({ rom }: { rom: Rom }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { useAtom, useAtomValue } from 'jotai'
import $ from 'jquery'
import { findIndex, first, last } from 'lodash-es'
import { useCallback, useEffect, useMemo } from 'react'
import { SystemName, onPress } from '../../../../core'
import type { SystemName } from '../../../../core'
import { onPress } from '../../../../core'
import { isUsingDemo } from '../../../../core/exposed/is-using-demo'
import { isGameIdleAtom } from '../../atoms'
import { currentSystemNameAtom, systemsAtom } from '../atoms'
Expand Down
3 changes: 2 additions & 1 deletion src/views/components/primitives/base-tooltip.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Arrow, Content, Portal, Provider, Root, TooltipTriggerProps, Trigger } from '@radix-ui/react-tooltip'
import type { TooltipTriggerProps } from '@radix-ui/react-tooltip'
import { Arrow, Content, Portal, Provider, Root, Trigger } from '@radix-ui/react-tooltip'
import { type ReactNode } from 'react'

interface BaseTooltipProps extends TooltipTriggerProps {
Expand Down

0 comments on commit b972323

Please sign in to comment.