Skip to content

Commit

Permalink
remove duplicate settings from analysis_options files
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Nov 13, 2023
1 parent 2e36b8d commit df02483
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
1 change: 0 additions & 1 deletion pkgs/cli_config/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
analyzer:
language:
strict-raw-types: true
strict-inference: true

linter:
rules:
Expand Down
2 changes: 0 additions & 2 deletions pkgs/graphs/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 0 additions & 26 deletions pkgs/unified_analytics/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit df02483

Please sign in to comment.