[PR #3974] [MERGED] fix(server): lint import order #10186

Closed
opened 2026-02-05 14:17:24 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/3974
Author: @jrasm91
Created: 9/4/2023
Status: Merged
Merged: 9/4/2023
Merged by: @jrasm91

Base: mainHead: chore/auto-imports


📝 Commits (2)

📊 Changes

58 files changed (+72 additions, -71 deletions)

View changed files

📝 server/.prettierrc (+2 -1)
📝 server/src/domain/album/album-response.dto.ts (+1 -1)
📝 server/src/domain/album/dto/album-update.dto.ts (+1 -1)
📝 server/src/domain/album/dto/album.dto.ts (+1 -1)
📝 server/src/domain/album/dto/get-albums.dto.ts (+1 -1)
📝 server/src/domain/asset/asset.service.spec.ts (+1 -1)
📝 server/src/domain/asset/asset.service.ts (+3 -3)
📝 server/src/domain/asset/dto/asset-statistics.dto.ts (+1 -1)
📝 server/src/domain/asset/dto/asset.dto.ts (+1 -1)
📝 server/src/domain/asset/dto/map-marker.dto.ts (+1 -1)
📝 server/src/domain/asset/dto/time-bucket.dto.ts (+1 -1)
📝 server/src/domain/asset/response-dto/asset-response.dto.ts (+3 -3)
📝 server/src/domain/audit/audi.service.spec.ts (+1 -1)
📝 server/src/domain/auth/auth.service.spec.ts (+1 -1)
📝 server/src/domain/auth/auth.service.ts (+3 -3)
📝 server/src/domain/domain.util.ts (+1 -1)
📝 server/src/domain/facial-recognition/facial-recognition.services.ts (+1 -1)
📝 server/src/domain/job/job.dto.ts (+1 -1)
📝 server/src/domain/media/media.service.ts (+1 -1)
📝 server/src/domain/metadata/metadata.service.spec.ts (+1 -1)

...and 38 more files

📄 Description

When we migrated to prettier 3 we lost auto-loaded plugins, which removed this functionality.

https://github.com/simonhaenisch/prettier-plugin-organize-imports#prettier-3


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/3974 **Author:** [@jrasm91](https://github.com/jrasm91) **Created:** 9/4/2023 **Status:** ✅ Merged **Merged:** 9/4/2023 **Merged by:** [@jrasm91](https://github.com/jrasm91) **Base:** `main` ← **Head:** `chore/auto-imports` --- ### 📝 Commits (2) - [`3e8a55f`](https://github.com/immich-app/immich/commit/3e8a55f721db602f9f73af86d0c37762b2cd7c83) fix: use prettier extension - [`cb65781`](https://github.com/immich-app/immich/commit/cb65781b6cb25b4df5761b5a269610fd93df5124) chore: format fix ### 📊 Changes **58 files changed** (+72 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `server/.prettierrc` (+2 -1) 📝 `server/src/domain/album/album-response.dto.ts` (+1 -1) 📝 `server/src/domain/album/dto/album-update.dto.ts` (+1 -1) 📝 `server/src/domain/album/dto/album.dto.ts` (+1 -1) 📝 `server/src/domain/album/dto/get-albums.dto.ts` (+1 -1) 📝 `server/src/domain/asset/asset.service.spec.ts` (+1 -1) 📝 `server/src/domain/asset/asset.service.ts` (+3 -3) 📝 `server/src/domain/asset/dto/asset-statistics.dto.ts` (+1 -1) 📝 `server/src/domain/asset/dto/asset.dto.ts` (+1 -1) 📝 `server/src/domain/asset/dto/map-marker.dto.ts` (+1 -1) 📝 `server/src/domain/asset/dto/time-bucket.dto.ts` (+1 -1) 📝 `server/src/domain/asset/response-dto/asset-response.dto.ts` (+3 -3) 📝 `server/src/domain/audit/audi.service.spec.ts` (+1 -1) 📝 `server/src/domain/auth/auth.service.spec.ts` (+1 -1) 📝 `server/src/domain/auth/auth.service.ts` (+3 -3) 📝 `server/src/domain/domain.util.ts` (+1 -1) 📝 `server/src/domain/facial-recognition/facial-recognition.services.ts` (+1 -1) 📝 `server/src/domain/job/job.dto.ts` (+1 -1) 📝 `server/src/domain/media/media.service.ts` (+1 -1) 📝 `server/src/domain/metadata/metadata.service.spec.ts` (+1 -1) _...and 38 more files_ </details> ### 📄 Description When we migrated to prettier 3 we lost auto-loaded plugins, which removed this functionality. https://github.com/simonhaenisch/prettier-plugin-organize-imports#prettier-3 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:17:24 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#10186