From 664696932851fb3bd5785f5583cd9a2514af6384 Mon Sep 17 00:00:00 2001 From: Robert Virkus Date: Sun, 25 Feb 2024 08:56:15 +0100 Subject: [PATCH] chore: update analysis options --- analysis_options.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 6eecbf36..42e63f77 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -32,7 +32,6 @@ linter: - always_declare_return_types - always_put_control_body_on_new_line - always_put_required_named_parameters_first - - always_require_non_null_named_parameters #- always_specify_types # This would enforce to write types literally everywhere. - annotate_overrides #- avoid_annotating_with_dynamic # Explicit annotation of dynamic as type is preferable. Also exclusive with type_annotate_public_apis @@ -54,11 +53,7 @@ linter: - avoid_renaming_method_parameters - avoid_relative_lib_imports - avoid_return_types_on_setters - - avoid_returning_null - - avoid_returning_null_for_future - avoid_returning_null_for_void - - avoid_returning_this - - avoid_setters_without_getters - avoid_shadowing_type_parameters - avoid_single_cascade_in_expression_statements - avoid_slow_async_io