Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][lint] error on unrelated_type_equality_checks rule voilation

Neeraj Guptaab1ac9cf1121
diff --git a/mobile/analysis_options.yaml b/mobile/analysis_options.yaml
index cebeb1391e..f30be877bd 100644
--- a/mobile/analysis_options.yaml
+++ b/mobile/analysis_options.yaml
@@ -22,6 +22,7 @@ linter:
- use_key_in_widget_constructors
- cancel_subscriptions
+
- avoid_empty_else
- exhaustive_cases
@@ -59,6 +60,7 @@ analyzer:
prefer_final_locals: warning
unnecessary_const: error
cancel_subscriptions: error
+ unrelated_type_equality_checks: error
unawaited_futures: warning # convert to warning after fixing existing issues