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:
Ryan Cohen
2022-08-03 12:57:51 +09:00
committed by GitHub
parent 25eb765f9b
commit f5864b49de
245 changed files with 1034 additions and 620 deletions

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserProfile from '../../../components/UserProfile';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import RequestList from '../../../components/RequestList';
import useRouteGuard from '../../../hooks/useRouteGuard';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../components/UserProfile/UserSettings';
import UserGeneralSettings from '../../../../components/UserProfile/UserSettings/UserGeneralSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../components/UserProfile/UserSettings';
import UserGeneralSettings from '../../../../components/UserProfile/UserSettings/UserGeneralSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../../components/UserProfile/UserSettings';
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../../components/UserProfile/UserSettings';
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../../components/UserProfile/UserSettings';
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../../components/UserProfile/UserSettings';
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../../components/UserProfile/UserSettings';
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../../components/UserProfile/UserSettings';
import UserNotificationSettings from '../../../../../components/UserProfile/UserSettings/UserNotificationSettings';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../components/UserProfile/UserSettings';
import UserPasswordChange from '../../../../components/UserProfile/UserSettings/UserPasswordChange';

View File

@@ -1,4 +1,4 @@
import { NextPage } from 'next';
import type { NextPage } from 'next';
import React from 'react';
import UserSettings from '../../../../components/UserProfile/UserSettings';
import UserPermissions from '../../../../components/UserProfile/UserSettings/UserPermissions';