🧑‍💻 Migrate package.json prettier and eslint

Also updated the plugins and the config.
New rules should be respected from now-on
This commit is contained in:
ajnart
2023-06-11 17:51:29 +09:00
parent cb0e6532bf
commit 3b3f7f308f
13 changed files with 563 additions and 1448 deletions

View File

@@ -3,6 +3,7 @@ import { useDisclosure } from '@mantine/hooks';
import { IconChevronDown, IconGripVertical } from '@tabler/icons-react';
import { Reorder, useDragControls } from 'framer-motion';
import { FC, useEffect, useRef } from 'react';
import { IDraggableEditableListInputValue } from '../../../../../widgets/widgets';
interface DraggableListProps {
@@ -47,6 +48,7 @@ export const DraggableList = ({ items, value, onChange, options }: DraggableList
const ListItem: FC<{
item: any;
label: string | JSX.Element;
children: JSX.Element;
}> = ({ item, label, children }) => {
const [opened, handlers] = useDisclosure(false);
const { classes, cx } = useStyles();