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

@ -6,19 +6,19 @@ import SvgIcon from './svg-icon';
interface IIcon extends Pick<React.SVGAttributes<SVGAElement>, 'strokeWidth'> {
/** Class name for the <svg> element. */
className?: string
className?: string;
/** Number to display a counter over the icon. */
count?: number
count?: number;
/** Optional max to cap count (ie: N+) */
countMax?: number
countMax?: number;
/** Tooltip text for the icon. */
alt?: string
alt?: string;
/** URL to the svg icon. */
src: string
src: string;
/** Width and height of the icon in pixels. */
size?: number
size?: number;
/** Override the data-testid */
'data-testid'?: string
'data-testid'?: string;
}
/** Renders and SVG icon with optional counter. */

View File

@ -3,13 +3,13 @@ import InlineSVG, { Props as InlineSVGProps } from 'react-inlinesvg'; // eslint-
interface ISvgIcon extends InlineSVGProps {
/** Class name for the <svg> */
className?: string
className?: string;
/** Tooltip text for the icon. */
alt?: string
alt?: string;
/** URL to the svg file. */
src: string
src: string;
/** Width and height of the icon in pixels. */
size?: number
size?: number;
}
/** Renders an inline SVG with an empty frame loading state */