From df0248306a6585000999f7f72ca015c15c2ff5a5 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 13 Nov 2023 09:52:13 -0800 Subject: [PATCH] remove duplicate settings from analysis_options files --- pkgs/cli_config/analysis_options.yaml | 1 - pkgs/graphs/analysis_options.yaml | 2 -- pkgs/unified_analytics/analysis_options.yaml | 26 -------------------- 3 files changed, 29 deletions(-) diff --git a/pkgs/cli_config/analysis_options.yaml b/pkgs/cli_config/analysis_options.yaml index 69c31d7be..dd3dcdac5 100644 --- a/pkgs/cli_config/analysis_options.yaml +++ b/pkgs/cli_config/analysis_options.yaml @@ -3,7 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml analyzer: language: strict-raw-types: true - strict-inference: true linter: rules: diff --git a/pkgs/graphs/analysis_options.yaml b/pkgs/graphs/analysis_options.yaml index 4140834ff..58240733c 100644 --- a/pkgs/graphs/analysis_options.yaml +++ b/pkgs/graphs/analysis_options.yaml @@ -3,8 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml analyzer: language: - strict-casts: true - strict-inference: true strict-raw-types: true errors: sort_pub_dependencies: ignore diff --git a/pkgs/unified_analytics/analysis_options.yaml b/pkgs/unified_analytics/analysis_options.yaml index 116466013..f61312ad3 100644 --- a/pkgs/unified_analytics/analysis_options.yaml +++ b/pkgs/unified_analytics/analysis_options.yaml @@ -1,34 +1,8 @@ # This file configures the static analysis results for your project (errors, # warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. include: package:dart_flutter_team_lints/analysis_options.yaml -# Uncomment the following section to specify additional rules. - linter: rules: - - always_declare_return_types - avoid_catches_without_on_clauses - - camel_case_types - - prefer_single_quotes - - unawaited_futures - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options