eslint: use semicolon TypeScript delimeter

This commit is contained in:
Alex Gleason
2023-10-02 13:54:02 -05:00
parent 702124fb79
commit 645ce60a5f
479 changed files with 1928 additions and 1938 deletions

View File

@@ -9,7 +9,7 @@ import {
import LinkFooter from '../features/ui/components/link-footer';
interface IAdminPage {
children: React.ReactNode
children: React.ReactNode;
}
const AdminPage: React.FC<IAdminPage> = ({ children }) => {

View File

@@ -1,7 +1,7 @@
import React from 'react';
interface IChatsPage {
children: React.ReactNode
children: React.ReactNode;
}
/** Custom layout for chats on desktop. */

View File

@@ -13,7 +13,7 @@ import { useAppSelector, useFeatures } from 'soapbox/hooks';
import { Layout } from '../components/ui';
interface IDefaultPage {
children: React.ReactNode
children: React.ReactNode;
}
const DefaultPage: React.FC<IDefaultPage> = ({ children }) => {

View File

@@ -3,7 +3,7 @@ import React from 'react';
import { Layout } from '../components/ui';
interface IEmptyPage {
children: React.ReactNode
children: React.ReactNode;
}
const EmptyPage: React.FC<IEmptyPage> = ({ children }) => {

View File

@@ -19,9 +19,9 @@ const getStatus = makeGetStatus();
interface IEventPage {
params?: {
statusId?: string
}
children: React.ReactNode
statusId?: string;
};
children: React.ReactNode;
}
const EventPage: React.FC<IEventPage> = ({ params, children }) => {

View File

@@ -11,7 +11,7 @@ import {
import { useFeatures } from 'soapbox/hooks';
interface IEventsPage {
children: React.ReactNode
children: React.ReactNode;
}
/** Page to display events list. */

View File

@@ -27,9 +27,9 @@ const messages = defineMessages({
interface IGroupPage {
params?: {
groupId?: string
}
children: React.ReactNode
groupId?: string;
};
children: React.ReactNode;
}
const DeletedBlankslate = () => (

View File

@@ -7,7 +7,7 @@ import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
import { MyGroupsPanel, NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';
interface IGroupsPage {
children: React.ReactNode
children: React.ReactNode;
}
/** Page to display groups. */

View File

@@ -6,7 +6,7 @@ import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
import { NewGroupPanel, SuggestedGroupsPanel } from 'soapbox/features/ui/util/async-components';
interface IGroupsPage {
children: React.ReactNode
children: React.ReactNode;
}
/** Page to display groups. */

View File

@@ -23,7 +23,7 @@ import ComposeForm from '../features/compose/components/compose-form';
import BundleContainer from '../features/ui/containers/bundle-container';
interface IHomePage {
children: React.ReactNode
children: React.ReactNode;
}
const HomePage: React.FC<IHomePage> = ({ children }) => {

View File

@@ -12,7 +12,7 @@ import { Layout } from '../components/ui';
import BundleContainer from '../features/ui/containers/bundle-container';
interface ILandingPage {
children: React.ReactNode
children: React.ReactNode;
}
const LandingPage: React.FC<ILandingPage> = ({ children }) => {

View File

@@ -6,7 +6,7 @@ import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';
interface IGroupsPage {
children: React.ReactNode
children: React.ReactNode;
}
/** Page to display groups. */

View File

@@ -22,9 +22,9 @@ import { getAcct, isLocal } from 'soapbox/utils/accounts';
interface IProfilePage {
params?: {
username?: string
}
children: React.ReactNode
username?: string;
};
children: React.ReactNode;
}
/** Page to display a user's profile. */

View File

@@ -14,9 +14,9 @@ import { Layout } from '../components/ui';
interface IRemoteInstancePage {
params?: {
instance?: string
}
children: React.ReactNode
instance?: string;
};
children: React.ReactNode;
}
/** Page for viewing a remote instance timeline. */

View File

@@ -14,7 +14,7 @@ import { useAppSelector, useFeatures } from 'soapbox/hooks';
import { Layout } from '../components/ui';
interface ISearchPage {
children: React.ReactNode
children: React.ReactNode;
}
const SearchPage: React.FC<ISearchPage> = ({ children }) => {

View File

@@ -13,7 +13,7 @@ import { Layout } from '../components/ui';
import BundleContainer from '../features/ui/containers/bundle-container';
interface IStatusPage {
children: React.ReactNode
children: React.ReactNode;
}
const StatusPage: React.FC<IStatusPage> = ({ children }) => {