From d505db7c207f1b50cf15c8ab3e91fb0f9e95c7da Mon Sep 17 00:00:00 2001 From: "alexiuk.genius" Date: Wed, 17 Apr 2024 17:05:09 +0200 Subject: [PATCH] Update analysis_options.yaml to exclude final fields with getters --- lib/analysis_options.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml index 05abd27..4960753 100644 --- a/lib/analysis_options.yaml +++ b/lib/analysis_options.yaml @@ -3,21 +3,21 @@ analyzer: - custom_lint exclude: # General generated files - - "**/*.g.dart" - - "**/*.gr.dart" + - '**/*.g.dart' + - '**/*.gr.dart' # Flutter - - "lib/generated_plugin_registrant.dart" + - 'lib/generated_plugin_registrant.dart' # mockito - - "*.mocks.dart" - - "**/*.mocks.dart" + - '*.mocks.dart' + - '**/*.mocks.dart' # freezed - - "**/*.freezed.dart" + - '**/*.freezed.dart' # protobuf - - "**/*.pb.dart" + - '**/*.pb.dart' # test_coverage - test/.test_coverage.dart @@ -51,6 +51,7 @@ custom_lint: - avoid_unrelated_type_assertions - avoid_unused_parameters - avoid_debug_print + - avoid_final_with_getter - cyclomatic_complexity: max_complexity: 10