Fix linting

This commit is contained in:
Maximilian Harz 2025-07-05 17:09:42 +02:00
parent 17bd81d603
commit 70e3f7f62d
5 changed files with 7 additions and 5 deletions

View File

@ -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',

View File

@ -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()

View File

@ -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

View File

@ -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

View File

@ -35,7 +35,7 @@
], ],
"#root/*": [ "#root/*": [
"../lib/*" "../lib/*"
], ]
} }
}, },
"include": [ "include": [