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

@ -16,7 +16,7 @@ const messages = defineMessages({
});
interface IAnnouncement {
announcement: AnnouncementEntity
announcement: AnnouncementEntity;
}
const Announcement: React.FC<IAnnouncement> = ({ announcement }) => {

View File

@ -6,10 +6,10 @@ import { Text } from 'soapbox/components/ui';
import { isNumber } from 'soapbox/utils/numbers';
interface IDashCounter {
count: number | undefined
label: React.ReactNode
to?: string
percent?: boolean
count: number | undefined;
label: React.ReactNode;
to?: string;
percent?: boolean;
}
/** Displays a (potentially clickable) dashboard statistic. */
@ -39,7 +39,7 @@ const DashCounter: React.FC<IDashCounter> = ({ count, label, to = '#', percent =
};
interface IDashCounters {
children: React.ReactNode
children: React.ReactNode;
}
/** Wrapper container for dash counters. */

View File

@ -16,7 +16,7 @@ const messages = defineMessages({
});
interface ILatestAccountsPanel {
limit?: number
limit?: number;
}
const LatestAccountsPanel: React.FC<ILatestAccountsPanel> = ({ limit = 5 }) => {

View File

@ -16,8 +16,8 @@ const messages = defineMessages({
});
interface IReportStatus {
status: Status
report?: AdminReport
status: Status;
report?: AdminReport;
}
const ReportStatus: React.FC<IReportStatus> = ({ status }) => {

View File

@ -23,7 +23,7 @@ const messages = defineMessages({
});
interface IReport {
id: string
id: string;
}
const Report: React.FC<IReport> = ({ id }) => {

View File

@ -7,7 +7,7 @@ import { Stack, HStack, Text } from 'soapbox/components/ui';
import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
interface IUnapprovedAccount {
accountId: string
accountId: string;
}
/** Displays an unapproved account for moderation purposes. */

View File

@ -67,7 +67,7 @@ const ModerationLog = () => {
};
interface ILogItem {
log: AdminLog
log: AdminLog;
}
const LogItem: React.FC<ILogItem> = ({ log }) => {