refactor: enforce semantic values and numeric lint rules

This commit is contained in:
2026-09-13 14:37:25 +03:00
parent 24d332e063
commit 53c852b437
21 changed files with 190 additions and 47 deletions
@@ -3,6 +3,8 @@ import type { FC } from "react";
import { useTranslation } from "react-i18next";
import { LoadingSkeleton } from "@/shared/ui";
const skeletonRowIds = ["first", "second", "third", "fourth"];
const AccountEventsPageLoading: FC = () => {
const { t } = useTranslation();
return (
@@ -17,8 +19,8 @@ const AccountEventsPageLoading: FC = () => {
<Skeleton height={36} width={116} />
<Skeleton height={36} width={108} />
</Group>
{[0, 1, 2, 3].map((index) => (
<Skeleton key={index} height={82} radius="md" />
{skeletonRowIds.map((id) => (
<Skeleton key={id} height={82} radius="md" />
))}
</LoadingSkeleton>
);