From 9173c3fcde7454c64a0ac1eee8e6b34c532a0e89 Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Thu, 10 Oct 2024 12:27:02 +0200 Subject: [PATCH] Also update example --- flutter_web_auth_2/example/analysis_options.yaml | 10 ++++++---- flutter_web_auth_2/example/pubspec.yaml | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/flutter_web_auth_2/example/analysis_options.yaml b/flutter_web_auth_2/example/analysis_options.yaml index 3d25db8..cd78dde 100644 --- a/flutter_web_auth_2/example/analysis_options.yaml +++ b/flutter_web_auth_2/example/analysis_options.yaml @@ -66,7 +66,7 @@ linter: - avoid_init_to_null - avoid_js_rounded_ints - avoid_multiple_declarations_per_line - - avoid_null_checks_in_equality_operators + # - avoid_null_checks_in_equality_operators - avoid_positional_boolean_parameters - avoid_print - avoid_private_typedef_functions @@ -121,6 +121,7 @@ linter: - implicit_call_tearoffs - implicit_reopen - invalid_case_patterns + - invalid_runtime_check_with_js_interop_types - join_return_with_assignment - leading_newlines_in_multiline_strings - library_annotations @@ -158,10 +159,10 @@ linter: - prefer_asserts_with_message - prefer_collection_literals - prefer_conditional_assignment - - prefer_const_constructors + # - prefer_const_constructors - prefer_const_constructors_in_immutables - - prefer_const_declarations - - prefer_const_literals_to_create_immutables + # - prefer_const_declarations + # - prefer_const_literals_to_create_immutables - prefer_constructors_over_static_methods - prefer_contains # - prefer_double_quotes @@ -221,6 +222,7 @@ linter: - unnecessary_lambdas - unnecessary_late - unnecessary_library_directive + - unnecessary_library_name - unnecessary_new - unnecessary_null_aware_assignments - unnecessary_null_aware_operator_on_extension_on_nullable diff --git a/flutter_web_auth_2/example/pubspec.yaml b/flutter_web_auth_2/example/pubspec.yaml index d9e404a..62f83dd 100644 --- a/flutter_web_auth_2/example/pubspec.yaml +++ b/flutter_web_auth_2/example/pubspec.yaml @@ -17,10 +17,10 @@ dependencies: desktop_webview_window: ^0.2.3 flutter: sdk: flutter - flutter_web_auth_2: ^4.0.0 + flutter_web_auth_2: ^4.0.1 dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter_test: sdk: flutter