Change ESLint rules, lint

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2023-02-15 22:26:27 +01:00
parent dec2cc69e8
commit 81de0014d3
337 changed files with 1301 additions and 1284 deletions

View File

@ -2,8 +2,8 @@ import clsx from 'clsx';
import React from 'react';
interface IIndicator {
state?: 'active' | 'pending' | 'error' | 'inactive',
size?: 'sm',
state?: 'active' | 'pending' | 'error' | 'inactive'
size?: 'sm'
}
/** Indicator dot component. */

View File

@ -15,9 +15,9 @@ const messages = defineMessages({
});
interface IDashWidget {
to?: string,
onClick?: React.MouseEventHandler<HTMLButtonElement>,
children: React.ReactNode,
to?: string
onClick?: React.MouseEventHandler<HTMLButtonElement>
children: React.ReactNode
}
const DashWidget: React.FC<IDashWidget> = ({ to, onClick, children }) => {