Skip to content

The open alternative to Salesforce, designed for AI.

Fix lint

Charles Bochetaab2f3ab3cf8
diff --git a/front/src/modules/companies/board/components/CompanyBoard.tsx b/front/src/modules/companies/board/components/CompanyBoard.tsx
index 390e7ca99c1..bfd515ddf81 100644
--- a/front/src/modules/companies/board/components/CompanyBoard.tsx
+++ b/front/src/modules/companies/board/components/CompanyBoard.tsx
@@ -2,7 +2,7 @@ import { BoardContext } from '@/companies/states/contexts/BoardContext';
import { pipelineAvailableFieldDefinitions } from '@/pipeline/constants/pipelineAvailableFieldDefinitions';
import {
EntityBoard,
- type EntityBoardProps,
+ EntityBoardProps,
} from '@/ui/board/components/EntityBoard';
import { EntityBoardActionBar } from '@/ui/board/components/EntityBoardActionBar';
import { EntityBoardContextMenu } from '@/ui/board/components/EntityBoardContextMenu';
diff --git a/front/src/modules/ui/board/components/BoardHeader.tsx b/front/src/modules/ui/board/components/BoardHeader.tsx
index c9d10cc5cdd..fd5bb906ab8 100644
--- a/front/src/modules/ui/board/components/BoardHeader.tsx
+++ b/front/src/modules/ui/board/components/BoardHeader.tsx
@@ -18,7 +18,7 @@ import { savedBoardCardFieldsFamilyState } from '../states/savedBoardCardFieldsF
import { savedBoardColumnsState } from '../states/savedBoardColumnsState';
import { canPersistBoardCardFieldsScopedFamilySelector } from '../states/selectors/canPersistBoardCardFieldsScopedFamilySelector';
import { canPersistBoardColumnsSelector } from '../states/selectors/canPersistBoardColumnsSelector';
-import type { BoardColumnDefinition } from '../types/BoardColumnDefinition';
+import { BoardColumnDefinition } from '../types/BoardColumnDefinition';
import { BoardOptionsDropdownKey } from '../types/BoardOptionsDropdownKey';
import { BoardOptionsHotkeyScope } from '../types/BoardOptionsHotkeyScope';
diff --git a/front/src/modules/ui/board/components/BoardOptionsDropdown.tsx b/front/src/modules/ui/board/components/BoardOptionsDropdown.tsx
index 002f5bf210e..7bfbf3a6f5e 100644
--- a/front/src/modules/ui/board/components/BoardOptionsDropdown.tsx
+++ b/front/src/modules/ui/board/components/BoardOptionsDropdown.tsx
@@ -8,7 +8,7 @@ import { BoardOptionsDropdownKey } from '../types/BoardOptionsDropdownKey';
import { BoardOptionsDropdownButton } from './BoardOptionsDropdownButton';
import {
BoardOptionsDropdownContent,
- type BoardOptionsDropdownContentProps,
+ BoardOptionsDropdownContentProps,
} from './BoardOptionsDropdownContent';
type BoardOptionsDropdownProps = Pick<
diff --git a/front/src/modules/ui/button/components/FloatingIconButtonGroup.tsx b/front/src/modules/ui/button/components/FloatingIconButtonGroup.tsx
index c082bd1cc51..2091b0cdb27 100644
--- a/front/src/modules/ui/button/components/FloatingIconButtonGroup.tsx
+++ b/front/src/modules/ui/button/components/FloatingIconButtonGroup.tsx
@@ -6,7 +6,7 @@ import { IconComponent } from '@/ui/icon/types/IconComponent';
import {
FloatingIconButton,
FloatingIconButtonPosition,
- type FloatingIconButtonProps,
+ FloatingIconButtonProps,
} from './FloatingIconButton';
const StyledFloatingIconButtonGroupContainer = styled.div`
diff --git a/front/src/modules/ui/button/components/IconButtonGroup.tsx b/front/src/modules/ui/button/components/IconButtonGroup.tsx
index 4dcf99abfec..b6b8b79cf9a 100644
--- a/front/src/modules/ui/button/components/IconButtonGroup.tsx
+++ b/front/src/modules/ui/button/components/IconButtonGroup.tsx
@@ -3,11 +3,7 @@ import styled from '@emotion/styled';
import { IconComponent } from '@/ui/icon/types/IconComponent';
-import {
- IconButton,
- IconButtonPosition,
- type IconButtonProps,
-} from './IconButton';
+import { IconButton, IconButtonPosition, IconButtonProps } from './IconButton';
const StyledIconButtonGroupContainer = styled.div`
border-radius: ${({ theme }) => theme.border.radius.md};
diff --git a/front/src/modules/ui/input/relation-picker/components/SingleEntitySelect.tsx b/front/src/modules/ui/input/relation-picker/components/SingleEntitySelect.tsx
index d9c94315402..128858ae47a 100644
--- a/front/src/modules/ui/input/relation-picker/components/SingleEntitySelect.tsx
+++ b/front/src/modules/ui/input/relation-picker/components/SingleEntitySelect.tsx
@@ -11,7 +11,7 @@ import { EntityForSelect } from '../types/EntityForSelect';
import {
SingleEntitySelectBase,
- type SingleEntitySelectBaseProps,
+ SingleEntitySelectBaseProps,
} from './SingleEntitySelectBase';
export type SingleEntitySelectProps<
diff --git a/front/src/pages/auth/__stories__/CreateProfile.stories.tsx b/front/src/pages/auth/__stories__/CreateProfile.stories.tsx
index 138e9354b16..21e9a05bacb 100644
--- a/front/src/pages/auth/__stories__/CreateProfile.stories.tsx
+++ b/front/src/pages/auth/__stories__/CreateProfile.stories.tsx
@@ -6,7 +6,7 @@ import { graphql } from 'msw';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { mockedOnboardingUsersData } from '~/testing/mock-data/users';
diff --git a/front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx b/front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx
index 0091401091f..2cce3bfc78b 100644
--- a/front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx
+++ b/front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx
@@ -6,7 +6,7 @@ import { graphql } from 'msw';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { mockedOnboardingUsersData } from '~/testing/mock-data/users';
diff --git a/front/src/pages/auth/__stories__/SignInUp.stories.tsx b/front/src/pages/auth/__stories__/SignInUp.stories.tsx
index 47491b6e78b..f7034f5434e 100644
--- a/front/src/pages/auth/__stories__/SignInUp.stories.tsx
+++ b/front/src/pages/auth/__stories__/SignInUp.stories.tsx
@@ -4,7 +4,7 @@ import { fireEvent, within } from '@storybook/testing-library';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/companies/__stories__/Companies.add.stories.tsx b/front/src/pages/companies/__stories__/Companies.add.stories.tsx
index c2e5a7d3b0e..a9474cc8b4e 100644
--- a/front/src/pages/companies/__stories__/Companies.add.stories.tsx
+++ b/front/src/pages/companies/__stories__/Companies.add.stories.tsx
@@ -1,11 +1,11 @@
import { expect } from '@storybook/jest';
-import type { Meta } from '@storybook/react';
+import { Meta } from '@storybook/react';
import { userEvent, within } from '@storybook/testing-library';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/companies/__stories__/Companies.filterBy.stories.tsx b/front/src/pages/companies/__stories__/Companies.filterBy.stories.tsx
index 092b3bb3a6a..bdad44bb5fa 100644
--- a/front/src/pages/companies/__stories__/Companies.filterBy.stories.tsx
+++ b/front/src/pages/companies/__stories__/Companies.filterBy.stories.tsx
@@ -6,7 +6,7 @@ import assert from 'assert';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/companies/__stories__/Companies.sortBy.stories.tsx b/front/src/pages/companies/__stories__/Companies.sortBy.stories.tsx
index 725dba3c9d1..5b474a9cb4a 100644
--- a/front/src/pages/companies/__stories__/Companies.sortBy.stories.tsx
+++ b/front/src/pages/companies/__stories__/Companies.sortBy.stories.tsx
@@ -5,7 +5,7 @@ import { userEvent, within } from '@storybook/testing-library';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/companies/__stories__/Companies.stories.tsx b/front/src/pages/companies/__stories__/Companies.stories.tsx
index 56f4459d938..5e87172442c 100644
--- a/front/src/pages/companies/__stories__/Companies.stories.tsx
+++ b/front/src/pages/companies/__stories__/Companies.stories.tsx
@@ -3,7 +3,7 @@ import { Meta, StoryObj } from '@storybook/react';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/companies/__stories__/Company.stories.tsx b/front/src/pages/companies/__stories__/Company.stories.tsx
index a29ea199de7..e607eb4a997 100644
--- a/front/src/pages/companies/__stories__/Company.stories.tsx
+++ b/front/src/pages/companies/__stories__/Company.stories.tsx
@@ -12,7 +12,7 @@ import { GET_COMPANY } from '@/companies/graphql/queries/getCompany';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { mockedActivities, mockedTasks } from '~/testing/mock-data/activities';
diff --git a/front/src/pages/opportunities/__stories__/Opportunities.stories.tsx b/front/src/pages/opportunities/__stories__/Opportunities.stories.tsx
index 3fcb7e43b02..9ee3a61c1e9 100644
--- a/front/src/pages/opportunities/__stories__/Opportunities.stories.tsx
+++ b/front/src/pages/opportunities/__stories__/Opportunities.stories.tsx
@@ -4,7 +4,7 @@ import { within } from '@storybook/testing-library';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/people/__stories__/People.add.stories.tsx b/front/src/pages/people/__stories__/People.add.stories.tsx
index 1205f331e37..6d42b30f84a 100644
--- a/front/src/pages/people/__stories__/People.add.stories.tsx
+++ b/front/src/pages/people/__stories__/People.add.stories.tsx
@@ -1,11 +1,11 @@
import { expect } from '@storybook/jest';
-import type { Meta } from '@storybook/react';
+import { Meta } from '@storybook/react';
import { userEvent, within } from '@storybook/testing-library';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/people/__stories__/People.filterBy.stories.tsx b/front/src/pages/people/__stories__/People.filterBy.stories.tsx
index 540cfb09ba3..ce81ae33a3a 100644
--- a/front/src/pages/people/__stories__/People.filterBy.stories.tsx
+++ b/front/src/pages/people/__stories__/People.filterBy.stories.tsx
@@ -6,7 +6,7 @@ import assert from 'assert';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/people/__stories__/People.inputs.stories.tsx b/front/src/pages/people/__stories__/People.inputs.stories.tsx
index 08fe3330bb5..d40eb03f30c 100644
--- a/front/src/pages/people/__stories__/People.inputs.stories.tsx
+++ b/front/src/pages/people/__stories__/People.inputs.stories.tsx
@@ -10,7 +10,7 @@ import { AppPath } from '@/types/AppPath';
import { Company } from '~/generated/graphql';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { fetchOneFromData } from '~/testing/mock-data';
diff --git a/front/src/pages/people/__stories__/People.sortBy.stories.tsx b/front/src/pages/people/__stories__/People.sortBy.stories.tsx
index 591e426642a..e97233b0ae5 100644
--- a/front/src/pages/people/__stories__/People.sortBy.stories.tsx
+++ b/front/src/pages/people/__stories__/People.sortBy.stories.tsx
@@ -5,7 +5,7 @@ import { userEvent, within } from '@storybook/testing-library';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/people/__stories__/People.stories.tsx b/front/src/pages/people/__stories__/People.stories.tsx
index 5a8f1a46638..22633449cd2 100644
--- a/front/src/pages/people/__stories__/People.stories.tsx
+++ b/front/src/pages/people/__stories__/People.stories.tsx
@@ -3,7 +3,7 @@ import { Meta, StoryObj } from '@storybook/react';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/people/__stories__/Person.stories.tsx b/front/src/pages/people/__stories__/Person.stories.tsx
index feb92dbeb52..28ca6052297 100644
--- a/front/src/pages/people/__stories__/Person.stories.tsx
+++ b/front/src/pages/people/__stories__/Person.stories.tsx
@@ -3,7 +3,7 @@ import { Meta, StoryObj } from '@storybook/react';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { mockedPeopleData } from '~/testing/mock-data/people';
diff --git a/front/src/pages/settings/__stories__/SettingsExperience.stories.tsx b/front/src/pages/settings/__stories__/SettingsExperience.stories.tsx
index d9ca0a3b90d..54b0230275e 100644
--- a/front/src/pages/settings/__stories__/SettingsExperience.stories.tsx
+++ b/front/src/pages/settings/__stories__/SettingsExperience.stories.tsx
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/settings/__stories__/SettingsObjects.stories.tsx b/front/src/pages/settings/__stories__/SettingsObjects.stories.tsx
index db8df06ae1b..5a29b5f48d5 100644
--- a/front/src/pages/settings/__stories__/SettingsObjects.stories.tsx
+++ b/front/src/pages/settings/__stories__/SettingsObjects.stories.tsx
@@ -3,7 +3,7 @@ import { within } from '@storybook/testing-library';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/settings/__stories__/SettingsProfile.stories.tsx b/front/src/pages/settings/__stories__/SettingsProfile.stories.tsx
index c9fa4181265..099c63dd401 100644
--- a/front/src/pages/settings/__stories__/SettingsProfile.stories.tsx
+++ b/front/src/pages/settings/__stories__/SettingsProfile.stories.tsx
@@ -3,7 +3,7 @@ import { within } from '@storybook/testing-library';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/settings/__stories__/SettingsWorkspace.stories.tsx b/front/src/pages/settings/__stories__/SettingsWorkspace.stories.tsx
index acc3776fcfe..343a7d30a76 100644
--- a/front/src/pages/settings/__stories__/SettingsWorkspace.stories.tsx
+++ b/front/src/pages/settings/__stories__/SettingsWorkspace.stories.tsx
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/pages/settings/__stories__/SettingsWorkspaceMembers.stories.tsx b/front/src/pages/settings/__stories__/SettingsWorkspaceMembers.stories.tsx
index d2ca497f206..c2ca2017b15 100644
--- a/front/src/pages/settings/__stories__/SettingsWorkspaceMembers.stories.tsx
+++ b/front/src/pages/settings/__stories__/SettingsWorkspaceMembers.stories.tsx
@@ -3,7 +3,7 @@ import { within } from '@storybook/testing-library';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
diff --git a/front/src/pages/tasks/__stories__/Tasks.stories.tsx b/front/src/pages/tasks/__stories__/Tasks.stories.tsx
index 7d0d4fc1fb0..a86cbe2b1c3 100644
--- a/front/src/pages/tasks/__stories__/Tasks.stories.tsx
+++ b/front/src/pages/tasks/__stories__/Tasks.stories.tsx
@@ -3,7 +3,7 @@ import { Meta, StoryObj } from '@storybook/react';
import { AppPath } from '@/types/AppPath';
import {
PageDecorator,
- type PageDecoratorArgs,
+ PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
diff --git a/front/src/testing/types.ts b/front/src/testing/types.ts
index 81c1cd4a830..302cf78e2d9 100644
--- a/front/src/testing/types.ts
+++ b/front/src/testing/types.ts
@@ -1,7 +1,7 @@
import { ElementType } from 'react';
import { StoryObj } from '@storybook/react';
-import type {
+import {
CatalogDimension,
CatalogOptions,
} from './decorators/CatalogDecorator';