Re-add prettier (#13812)

Re add prettier in eslint.configs
This commit is contained in:
Charles Bochet
2025-08-11 14:10:04 +02:00
committed by GitHub
parent c8d8fb20c9
commit b14063fe06
168 changed files with 675 additions and 352 deletions
@@ -1,7 +1,12 @@
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
import { useTheme } from '@emotion/react';
import { type Placement } from '@floating-ui/react';
import { type FunctionComponent, type MouseEvent, type ReactElement, type ReactNode } from 'react';
import {
type FunctionComponent,
type MouseEvent,
type ReactElement,
type ReactNode,
} from 'react';
import {
IconChevronRight,
type IconComponent,
@@ -35,7 +35,6 @@ export const MultiWorkspaceDropdownThemesComponents = () => {
<MenuItem
key={theme.id}
LeftIcon={theme.icon}
text={t`${theme.id}`}
onClick={() => setColorScheme(theme.id)}
RightIcon={theme.id === colorScheme ? IconCheck : undefined}
@@ -2,7 +2,11 @@ import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage';
import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { type AnimationControls, motion, type TargetAndTransition } from 'framer-motion';
import {
type AnimationControls,
motion,
type TargetAndTransition,
} from 'framer-motion';
import { useRecoilValue } from 'recoil';
const StyledAnimatedContainer = styled(motion.span)`
@@ -22,7 +22,10 @@ import {
TooltipPosition,
} from 'twenty-ui/display';
import { MOBILE_VIEWPORT } from 'twenty-ui/theme';
import { type TriggerEventType, useMouseDownNavigation } from 'twenty-ui/utilities';
import {
type TriggerEventType,
useMouseDownNavigation,
} from 'twenty-ui/utilities';
const DEFAULT_INDENTATION_LEVEL = 1;
@@ -2,7 +2,11 @@ import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage';
import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { type AnimationControls, motion, type TargetAndTransition } from 'framer-motion';
import {
type AnimationControls,
motion,
type TargetAndTransition,
} from 'framer-motion';
import { type ReactNode } from 'react';
import { useRecoilValue } from 'recoil';
@@ -1,4 +1,4 @@
import { expect , within } from '@storybook/test';
import { expect, within } from '@storybook/test';
import { type Meta, type StoryObj } from '@storybook/react';
import { useEffect } from 'react';
import { useSetRecoilState } from 'recoil';