eslint: use semicolon TypeScript delimeter
This commit is contained in:
@ -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. */
|
||||
|
||||
@ -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. */
|
||||
|
||||
@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user