chore: restrict usage of variables shorther than 3 characters (#255)

* chore: restrict usage of variables shorther than 3 characters

* chore: change highlighting to warning
This commit is contained in:
Meier Lukas
2024-03-20 20:58:24 +01:00
committed by GitHub
parent 361700b239
commit 92a8db718c
4 changed files with 18 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
import type { RefObject } from "react";
import { useElementSize } from "@mantine/hooks";
import cx from "clsx";
import combineClasses from "clsx";
import { useAtomValue } from "jotai";
import { useConfirmModal, useModalAction } from "@homarr/modals";
@@ -60,7 +60,10 @@ export const SectionContent = ({ items, refs }: Props) => {
>
<Card
ref={ref}
className={cx(classes.itemCard, "grid-stack-item-content")}
className={combineClasses(
classes.itemCard,
"grid-stack-item-content",
)}
withBorder
styles={{
root: {