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,4 +1,7 @@
import { type WorkflowAction, type WorkflowTrigger } from '@/workflow/types/Workflow';
import {
type WorkflowAction,
type WorkflowTrigger,
} from '@/workflow/types/Workflow';
import { getStepDefinitionOrThrow } from '@/workflow/utils/getStepDefinitionOrThrow';
import { WorkflowEditActionAiAgent } from '@/workflow/workflow-steps/workflow-actions/ai-agent-action/components/WorkflowEditActionAiAgent';
import { WorkflowActionServerlessFunction } from '@/workflow/workflow-steps/workflow-actions/code-action/components/WorkflowActionServerlessFunction';
@@ -5,7 +5,10 @@ import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSi
import { useGetRecordFromCache } from '@/object-record/cache/hooks/useGetRecordFromCache';
import { updateRecordFromCache } from '@/object-record/cache/utils/updateRecordFromCache';
import { useObjectPermissions } from '@/object-record/hooks/useObjectPermissions';
import { type WorkflowAction, type WorkflowVersion } from '@/workflow/types/Workflow';
import {
type WorkflowAction,
type WorkflowVersion,
} from '@/workflow/types/Workflow';
import { isDefined } from 'twenty-shared/utils';
import { type WorkflowVersionStepChanges } from '~/generated/graphql';
@@ -1,4 +1,4 @@
import { expect , fn, userEvent, within } from '@storybook/test';
import { expect, fn, userEvent, within } from '@storybook/test';
import { type Meta, type StoryObj } from '@storybook/react';
import { ComponentDecorator } from 'twenty-ui/testing';
import { I18nFrontDecorator } from '~/testing/decorators/I18nFrontDecorator';
@@ -6,7 +6,10 @@ import { WorkflowStepFilterContext } from '@/workflow/workflow-steps/workflow-ac
import styled from '@emotion/styled';
import { useContext } from 'react';
import { type StepFilterGroup, StepLogicalOperator } from 'twenty-shared/src/types';
import {
type StepFilterGroup,
StepLogicalOperator,
} from 'twenty-shared/src/types';
import { capitalize } from 'twenty-shared/utils';
const StyledText = styled.div`
@@ -6,7 +6,10 @@ import { useUpsertStepFilterSettings } from '@/workflow/workflow-steps/workflow-
import { WorkflowStepFilterContext } from '@/workflow/workflow-steps/workflow-actions/filter-action/states/context/WorkflowStepFilterContext';
import { getViewFilterOperands } from '@/workflow/workflow-steps/workflow-actions/filter-action/utils/getStepFilterOperands';
import { useContext } from 'react';
import { type StepFilter, type ViewFilterOperand } from 'twenty-shared/src/types';
import {
type StepFilter,
type ViewFilterOperand,
} from 'twenty-shared/src/types';
type WorkflowStepFilterOperandSelectProps = {
stepFilter: StepFilter;
@@ -2,10 +2,7 @@ import { type WorkflowFormAction } from '@/workflow/types/Workflow';
import { type Meta, type StoryObj } from '@storybook/react';
import { expect, within } from '@storybook/test';
import { FieldMetadataType } from 'twenty-shared/types';
import {
ComponentDecorator,
RouterDecorator
} from 'twenty-ui/testing';
import { ComponentDecorator, RouterDecorator } from 'twenty-ui/testing';
import { I18nFrontDecorator } from '~/testing/decorators/I18nFrontDecorator';
import { ObjectMetadataItemsDecorator } from '~/testing/decorators/ObjectMetadataItemsDecorator';
import { SnackBarDecorator } from '~/testing/decorators/SnackBarDecorator';
@@ -41,6 +41,9 @@ export type HttpRequestFormData = {
};
export {
DEFAULT_HTTP_REQUEST_OUTPUT_VALUE, DEFAULT_JSON_BODY_PLACEHOLDER, HTTP_METHODS, JSON_RESPONSE_PLACEHOLDER, METHODS_WITH_BODY
DEFAULT_HTTP_REQUEST_OUTPUT_VALUE,
DEFAULT_JSON_BODY_PLACEHOLDER,
HTTP_METHODS,
JSON_RESPONSE_PLACEHOLDER,
METHODS_WITH_BODY,
};
@@ -2,7 +2,10 @@ import { type WorkflowHttpRequestAction } from '@/workflow/types/Workflow';
import { isMethodWithBody } from '@/workflow/workflow-steps/workflow-actions/http-request-action/utils/isMethodWithBody';
import { useState } from 'react';
import { useDebouncedCallback } from 'use-debounce';
import { type HttpRequestBody, type HttpRequestFormData } from '../constants/HttpRequest';
import {
type HttpRequestBody,
type HttpRequestFormData,
} from '../constants/HttpRequest';
export type UseHttpRequestFormParams = {
action: WorkflowHttpRequestAction;