mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Fix linting
This commit is contained in:
parent
17bd81d603
commit
70e3f7f62d
@ -82,7 +82,7 @@ module.exports = {
|
|||||||
'import/no-relative-parent-imports': [
|
'import/no-relative-parent-imports': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
ignore: ['#[src,types,root,components,utils,assets]/*'],
|
ignore: ['#[src,types,root,components,utils,assets]/*', '@/config/*'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
'import/no-self-import': 'error',
|
'import/no-self-import': 'error',
|
||||||
|
|||||||
@ -54,7 +54,6 @@ import { ModalContent } from './ModalContent'
|
|||||||
import { Landingpage } from './pages/Landingpage'
|
import { Landingpage } from './pages/Landingpage'
|
||||||
import MapContainer from './pages/MapContainer'
|
import MapContainer from './pages/MapContainer'
|
||||||
import { getBottomRoutes, routes } from './routes/sidebar'
|
import { getBottomRoutes, routes } from './routes/sidebar'
|
||||||
import { InviteApi } from './api/InviteApi'
|
|
||||||
import { config } from '@/config'
|
import { config } from '@/config'
|
||||||
|
|
||||||
const userApi = new UserApi()
|
const userApi = new UserApi()
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
import type { UserApi } from 'utopia-ui'
|
/* @eslint-disable-next-line import/no-relative-parent-imports */
|
||||||
|
|
||||||
import { config } from '@/config'
|
import { config } from '@/config'
|
||||||
|
|
||||||
|
import type { UserApi } from 'utopia-ui'
|
||||||
|
|
||||||
type InvitingProfileResponse = [
|
type InvitingProfileResponse = [
|
||||||
{
|
{
|
||||||
item: string
|
item: string
|
||||||
|
|||||||
@ -8,3 +8,5 @@ export const config = {
|
|||||||
),
|
),
|
||||||
openCollectiveApiKey: String(import.meta.env.VITE_OPEN_COLLECTIVE_API_KEY ?? ''),
|
openCollectiveApiKey: String(import.meta.env.VITE_OPEN_COLLECTIVE_API_KEY ?? ''),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type Config = typeof config
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
],
|
],
|
||||||
"#root/*": [
|
"#root/*": [
|
||||||
"../lib/*"
|
"../lib/*"
|
||||||
],
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user