From 4ab6388e1884571cf81ff925196792c4f42f3fde Mon Sep 17 00:00:00 2001 From: zarzet Date: Sun, 26 Jul 2026 23:19:36 +0700 Subject: [PATCH] chore(analysis): enable unreachable_from_main lint --- analysis_options.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/analysis_options.yaml b/analysis_options.yaml index 7f11ea20..4b2ddb8c 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -43,6 +43,9 @@ linter: type_annotate_public_apis: true cancel_subscriptions: true close_sinks: true + # Catches dead cross-layer chains (Dart wrapper kept alive only by its own + # declaration) before they accumulate into another dedup campaign. + unreachable_from_main: true # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options