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

@ -5,8 +5,8 @@ import ColorWithPicker from 'soapbox/features/soapbox-config/components/color-wi
import type { ColorChangeHandler } from 'react-color';
interface IColor {
color: string
onChange: (color: string) => void
color: string;
onChange: (color: string) => void;
}
/** Color input. */

View File

@ -8,13 +8,13 @@ import { hueShift } from 'soapbox/utils/theme';
import Color from './color';
interface ColorGroup {
[tint: string]: string
[tint: string]: string;
}
interface IPalette {
palette: ColorGroup
onChange: (palette: ColorGroup) => void
resetKey?: string
palette: ColorGroup;
onChange: (palette: ColorGroup) => void;
resetKey?: string;
}
/** Editable color palette. */

View File

@ -232,10 +232,10 @@ const ThemeEditor: React.FC<IThemeEditor> = () => {
};
interface IPaletteListItem {
label: React.ReactNode
palette: ColorGroup
onChange: (palette: ColorGroup) => void
resetKey?: string
label: React.ReactNode;
palette: ColorGroup;
onChange: (palette: ColorGroup) => void;
resetKey?: string;
}
/** Palette editor inside a ListItem. */
@ -248,9 +248,9 @@ const PaletteListItem: React.FC<IPaletteListItem> = ({ label, palette, onChange,
};
interface IColorListItem {
label: React.ReactNode
value: string
onChange: (hex: string) => void
label: React.ReactNode;
value: string;
onChange: (hex: string) => void;
}
/** Single-color picker. */