[PR #19515] refactor: DCM - const border radius, constructor & switch expressions #16155

Closed
opened 2026-02-05 16:00:50 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/19515

State: closed
Merged: Yes


Description

Enables the following three lints from DCM and fixes the existing violations across the codebase:

  • prefer-const-border-radius
  • prefer-declaring-const-constructor
  • prefer-switch-expression

The fixes are made automatically through dcm fix & dart fix

**Original Pull Request:** https://github.com/immich-app/immich/pull/19515 **State:** closed **Merged:** Yes --- ## Description Enables the following three lints from DCM and fixes the existing violations across the codebase: - prefer-const-border-radius - prefer-declaring-const-constructor - prefer-switch-expression The fixes are made automatically through `dcm fix` & `dart fix`
OVERLORD added the pull-request label 2026-02-05 16:00:50 +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#16155