mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-03 13:18:53 -05:00
refactor: update a few dev deps and convert to using type imports where possible (#2886)
* build: bump deps and add some new eslint rules * refactor: run eslint --fix on code to convert to type imports where possible
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import SettingsAbout from '../../components/Settings/SettingsAbout';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
import SettingsMain from '../../components/Settings/SettingsMain';
|
||||
import useRouteGuard from '../../hooks/useRouteGuard';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
import SettingsLogs from '../../components/Settings/SettingsLogs';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
import SettingsMain from '../../components/Settings/SettingsMain';
|
||||
import { Permission } from '../../hooks/useUser';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsDiscord from '../../../components/Settings/Notifications/NotificationsDiscord';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsEmail from '../../../components/Settings/Notifications/NotificationsEmail';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsGotify from '../../../components/Settings/Notifications/NotificationsGotify';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsLunaSea from '../../../components/Settings/Notifications/NotificationsLunaSea';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsPushbullet from '../../../components/Settings/Notifications/NotificationsPushbullet';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsPushover from '../../../components/Settings/Notifications/NotificationsPushover';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsSlack from '../../../components/Settings/Notifications/NotificationsSlack';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsTelegram from '../../../components/Settings/Notifications/NotificationsTelegram';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsWebhook from '../../../components/Settings/Notifications/NotificationsWebhook';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import NotificationsWebPush from '../../../components/Settings/Notifications/NotificationsWebPush';
|
||||
import SettingsLayout from '../../../components/Settings/SettingsLayout';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { NextPage } from 'next';
|
||||
import type { NextPage } from 'next';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
import SettingsUsers from '../../components/Settings/SettingsUsers';
|
||||
import { Permission } from '../../hooks/useUser';
|
||||
|
||||
Reference in New Issue
Block a user