diff --git a/analysis_options.yaml b/analysis_options.yaml index 409daf3..5c44018 100644 --- a/analysis_options.yaml +++ b/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 @@ -113,6 +113,7 @@ linter: - flutter_style_todos - hash_and_equals - implementation_imports + - invalid_runtime_check_with_js_interop_types - join_return_with_assignment - leading_newlines_in_multiline_strings - library_names @@ -145,10 +146,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 @@ -203,6 +204,7 @@ linter: - unnecessary_getters_setters - unnecessary_lambdas - unnecessary_late + - unnecessary_library_name - unnecessary_new - unnecessary_null_aware_assignments - unnecessary_null_checks diff --git a/flutter_web_auth_2/analysis_options.yaml b/flutter_web_auth_2/analysis_options.yaml index 024532d..fe3905b 100644 --- a/flutter_web_auth_2/analysis_options.yaml +++ b/flutter_web_auth_2/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_platform_interface/analysis_options.yaml b/flutter_web_auth_2_platform_interface/analysis_options.yaml index 024532d..fe3905b 100644 --- a/flutter_web_auth_2_platform_interface/analysis_options.yaml +++ b/flutter_web_auth_2_platform_interface/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/pubspec.yaml b/pubspec.yaml index 2c79700..e332d26 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,5 +4,5 @@ environment: sdk: '>=2.15.0 <4.0.0' dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 melos: ^6.0.0