From 4ebab64bef813c768a02814cbc238b3502048f48 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 8 Dec 2021 06:06:59 +0000 Subject: [PATCH] analyzer_plugin: switch to use strict-casts Bug: https://github.com/dart-lang/sdk/issues/41651 Change-Id: I3f987e6ed11b8f53ab460227a6ffc02b6fbb57f4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222383 Reviewed-by: Konstantin Shcheglov Commit-Queue: Samuel Rawlins --- pkg/analyzer_plugin/analysis_options.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/analyzer_plugin/analysis_options.yaml b/pkg/analyzer_plugin/analysis_options.yaml index c183e268740..a8cb96fce7e 100644 --- a/pkg/analyzer_plugin/analysis_options.yaml +++ b/pkg/analyzer_plugin/analysis_options.yaml @@ -1,6 +1,6 @@ analyzer: - strong-mode: - implicit-casts: false + language: + strict-casts: true linter: rules: - await_only_futures