From f53c9e6077ca39eb74e4d54b446072fcd6bddd67 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Tue, 8 Nov 2022 12:25:13 +0100 Subject: [PATCH] feat: Make analysis options consistent --- analysis_options.yaml | 14 ++++++++++++++ moxxmpp/analysis_options.yaml | 15 +-------------- moxxmpp_socket/analysis_options.yaml | 12 +----------- 3 files changed, 16 insertions(+), 25 deletions(-) create mode 100644 analysis_options.yaml diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 0000000..f434b72 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,14 @@ +include: package:very_good_analysis/analysis_options.yaml +linter: + rules: + public_member_api_docs: false + lines_longer_than_80_chars: false + use_setters_to_change_properties: false + avoid_positional_boolean_parameters: false + avoid_bool_literals_in_conditional_expressions: false + +analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" + - "test/" diff --git a/moxxmpp/analysis_options.yaml b/moxxmpp/analysis_options.yaml index f434b72..5e2133e 100644 --- a/moxxmpp/analysis_options.yaml +++ b/moxxmpp/analysis_options.yaml @@ -1,14 +1 @@ -include: package:very_good_analysis/analysis_options.yaml -linter: - rules: - public_member_api_docs: false - lines_longer_than_80_chars: false - use_setters_to_change_properties: false - avoid_positional_boolean_parameters: false - avoid_bool_literals_in_conditional_expressions: false - -analyzer: - exclude: - - "**/*.g.dart" - - "**/*.freezed.dart" - - "test/" +include: ../analysis_options.yaml diff --git a/moxxmpp_socket/analysis_options.yaml b/moxxmpp_socket/analysis_options.yaml index 4aa9d84..2189f3c 100644 --- a/moxxmpp_socket/analysis_options.yaml +++ b/moxxmpp_socket/analysis_options.yaml @@ -1,15 +1,5 @@ -include: package:very_good_analysis/analysis_options.yaml -linter: - rules: - public_member_api_docs: false - lines_longer_than_80_chars: false - use_setters_to_change_properties: false - avoid_positional_boolean_parameters: false - avoid_bool_literals_in_conditional_expressions: false +include: ../analysis_options.yaml analyzer: exclude: - - "**/*.g.dart" - - "**/*.freezed.dart" - "lib/src/generated/*.dart" - - "test/"