mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
lint fixes
This commit is contained in:
parent
12545f9c84
commit
842d1d4bab
@ -1,8 +1,9 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-empty-function */
|
||||||
import { useCallback, useState, createContext, useContext } from 'react'
|
import { useCallback, useState, createContext, useContext } from 'react'
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { AssetsApi } from '../../../types'
|
import { AssetsApi } from '../../../types'
|
||||||
|
|
||||||
type AppState = {
|
interface AppState {
|
||||||
assetsApi: AssetsApi
|
assetsApi: AssetsApi
|
||||||
userType: string
|
userType: string
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { TextInput } from '../../Input'
|
import { TextInput } from '../../Input'
|
||||||
import { FormState } from '../Templates/OnepagerForm'
|
import { FormState } from '../Templates/OnepagerForm'
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
||||||
|
/* eslint-disable @typescript-eslint/restrict-template-expressions */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||||
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||||
/* eslint-disable @typescript-eslint/restrict-plus-operands */
|
/* eslint-disable @typescript-eslint/restrict-plus-operands */
|
||||||
import { Link } from 'react-router-dom'
|
import { Link } from 'react-router-dom'
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/restrict-plus-operands */
|
||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
import { Item } from '../../../types'
|
import { Item } from '../../../types'
|
||||||
import SocialShareBar from './SocialShareBar'
|
import SocialShareBar from './SocialShareBar'
|
||||||
|
|||||||
@ -1,10 +1,13 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
|
/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import ComboBoxInput from '../../Input/ComboBoxInput'
|
import ComboBoxInput from '../../Input/ComboBoxInput'
|
||||||
import { Item } from '../../../types'
|
import { Item } from '../../../types'
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { FormState } from '../Templates/OnepagerForm'
|
import { FormState } from '../Templates/OnepagerForm'
|
||||||
|
|
||||||
type groupType = {
|
interface groupType {
|
||||||
groupTypes_id: {
|
groupTypes_id: {
|
||||||
name: string
|
name: string
|
||||||
color: string
|
color: string
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { PopupStartEndInput } from '../../Map'
|
import { PopupStartEndInput } from '../../Map'
|
||||||
import { Item } from '../../../types'
|
import { Item } from '../../../types'
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { TextAreaInput } from '../../Input'
|
import { TextAreaInput } from '../../Input'
|
||||||
import { FormState } from '../Templates/OnepagerForm'
|
import { FormState } from '../Templates/OnepagerForm'
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||||
import { Item } from '../../../types'
|
import { Item } from '../../../types'
|
||||||
import { getValue } from '../../../Utils/GetValue'
|
import { getValue } from '../../../Utils/GetValue'
|
||||||
import { TextView } from '../../Map'
|
import { TextView } from '../../Map'
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { Item } from '../../../types'
|
import { Item } from '../../../types'
|
||||||
import { FormState } from './OnepagerForm'
|
import { FormState } from './OnepagerForm'
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||||
|
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
||||||
import { GroupSubHeaderView } from '../Subcomponents/GroupSubHeaderView'
|
import { GroupSubHeaderView } from '../Subcomponents/GroupSubHeaderView'
|
||||||
import { ProfileTextView } from '../Subcomponents/ProfileTextView'
|
import { ProfileTextView } from '../Subcomponents/ProfileTextView'
|
||||||
import { ContactInfoView } from '../Subcomponents/ContactInfoView'
|
import { ContactInfoView } from '../Subcomponents/ContactInfoView'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user