lint: migrate prettier to oxfmt (#20783)

Most changes are `implements` being unwrapped this is not a oxfmt
regression
Prettier in 3.7 (we're on 3.1) changed this behaviour prettier blog
[post](https://prettier.io/blog/2025/11/27/3.7.0#change-18094)

This unifies our linting tooling

---------

Co-authored-by: github-actions <github-actions@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
neo773
2026-05-22 03:51:33 +05:30
committed by GitHub
parent e2ee4ffdff
commit 323e66433e
421 changed files with 1362 additions and 2042 deletions
@@ -16,10 +16,10 @@ type ExtractPropertyToCompare<
export type MetadataUniversalFlatEntityPropertiesToCompare<
T extends AllMetadataName,
MetadataConfig = (typeof ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME)[T],
TComparedKeys extends
keyof MetadataConfig = MetadataEntityComparablePropertyName<T> &
keyof MetadataConfig,
MetadataConfig =
(typeof ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME)[T],
TComparedKeys extends keyof MetadataConfig =
MetadataEntityComparablePropertyName<T> & keyof MetadataConfig,
> = {
[P in TComparedKeys]: ExtractPropertyToCompare<MetadataConfig, P>;
}[TComparedKeys] &
@@ -21,8 +21,8 @@ export type UniversalSyncableFlatEntity = Omit<
export type UniversalFlatEntityExtraProperties<
TEntity extends SyncableEntity,
// Required to be passed for narrowed type
TMetadataName extends
AllMetadataName = FromMetadataEntityToMetadataName<TEntity>,
TMetadataName extends AllMetadataName =
FromMetadataEntityToMetadataName<TEntity>,
> = AddSuffixToEntityOneToManyProperties<TEntity, 'universalIdentifiers'> &
AddSuffixToEntityManyToOneProperties<
TEntity,
@@ -40,8 +40,8 @@ export type UniversalFlatEntityExtraProperties<
export type UniversalFlatEntityFrom<
TEntity extends SyncableEntity,
TMetadataName extends
AllMetadataName = FromMetadataEntityToMetadataName<TEntity>,
TMetadataName extends AllMetadataName =
FromMetadataEntityToMetadataName<TEntity>,
> = Omit<
TEntity,
| 'applicationId'
@@ -3,8 +3,8 @@ import { type WidgetConfigurationType } from 'src/engine/metadata-modules/page-l
import { type UniversalFlatEntityFrom } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-entity-from.type';
export type UniversalFlatPageLayoutWidget<
TWidgetConfigurationType extends
WidgetConfigurationType = WidgetConfigurationType,
TWidgetConfigurationType extends WidgetConfigurationType =
WidgetConfigurationType,
> = UniversalFlatEntityFrom<
PageLayoutWidgetEntity<TWidgetConfigurationType>,
'pageLayoutWidget'