From 0d2ec720b7e862bbbc91201f5491998ca5a81eae Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 8 Dec 2021 04:22:39 +0000 Subject: [PATCH] analyzer_cli: switch to use strict-casts Bug: https://github.com/dart-lang/sdk/issues/41651 Change-Id: I622210b0029325e52be2d8ef7dada1ceca961b6e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222382 Reviewed-by: Konstantin Shcheglov Commit-Queue: Samuel Rawlins --- pkg/analyzer_cli/analysis_options.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/analyzer_cli/analysis_options.yaml b/pkg/analyzer_cli/analysis_options.yaml index 069c2d2b62f..8d202f951d1 100644 --- a/pkg/analyzer_cli/analysis_options.yaml +++ b/pkg/analyzer_cli/analysis_options.yaml @@ -1,9 +1,8 @@ include: package:lints/recommended.yaml analyzer: - strong-mode: - implicit-casts: false language: + strict-casts: true strict-inference: true exclude: - test/data/**