π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Migrate auth to flutter_lints
Manav Rathi70285959e9c9
diff --git a/mobile/apps/auth/analysis_options.yaml b/mobile/apps/auth/analysis_options.yamlindex 9da50b29c9..5d62c4e8c1 100644--- a/mobile/apps/auth/analysis_options.yaml+++ b/mobile/apps/auth/analysis_options.yaml@@ -2,7 +2,7 @@# or https://pub.dev/packages/lint (Effective dart)# use "flutter analyze ." or "dart analyze ." for running lint checks-include: package:lints/recommended.yaml+include: package:flutter_lints/flutter.yamllinter:rules:# Ref https://github.com/flutter/packages/blob/master/packages/flutter_lints/lib/flutter.yaml@@ -49,6 +49,7 @@ analyzer:unawaited_futures: warning # convert to warning after fixing existing issuesavoid_renaming_method_parameters: ignore # incorrect warnings for `equals` overrides+ use_build_context_synchronously: ignore # experimental lint, requires many changesstrict_top_level_inference: ignore # deferred: surfaces latent nullable-return mismatches needing per-site fixesexclude:diff --git a/mobile/apps/auth/lib/ui/home_page.dart b/mobile/apps/auth/lib/ui/home_page.dartindex 4ec94fe2cf..a81568668a 100644--- a/mobile/apps/auth/lib/ui/home_page.dart+++ b/mobile/apps/auth/lib/ui/home_page.dart@@ -2325,9 +2325,9 @@ class _HomePageState extends State<HomePage> {if (PlatformDetector.isDesktop()) {return FloatingActionButton(onPressed: () => _redirectToManualEntryPage(),- child: const Icon(Icons.add),elevation: 8.0,shape: const CircleBorder(),+ child: const Icon(Icons.add),);}return SpeedDial(diff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lockindex 84f26d3714..0b4df97d34 100644--- a/mobile/apps/auth/pubspec.lock+++ b/mobile/apps/auth/pubspec.lock@@ -528,6 +528,14 @@ packages:url: "https://pub.dev"source: hostedversion: "0.14.4"+ flutter_lints:+ dependency: "direct dev"+ description:+ name: flutter_lints+ sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1"+ url: "https://pub.dev"+ source: hosted+ version: "6.0.0"flutter_local_notifications:dependency: "direct main"description:@@ -856,7 +864,7 @@ packages:source: hostedversion: "3.0.2"lints:- dependency: "direct dev"+ dependency: transitivedescription:name: lintssha256: "12f842a479589fea194fe5c5a3095abc7be0c1f2ddfa9a0e76aed1dbd26a87df"diff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yamlindex e61bd4ec5d..59f7240200 100644--- a/mobile/apps/auth/pubspec.yaml+++ b/mobile/apps/auth/pubspec.yaml@@ -136,9 +136,9 @@ dependencies:xdg_directories: 1.1.0dev_dependencies:+ flutter_lints: 6.0.0flutter_test:sdk: flutter- lints: 6.1.0shared_preferences_platform_interface: 2.4.2# The following section is specific to Flutter.