From 4b60bb530f10ddd062368d8deed1ec6344775d3b Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Wed, 14 Aug 2024 15:10:21 -0700 Subject: [PATCH] Enable invalid_runtime_check_with_js_interop_types, use_truncating_division (#153464) invalid_runtime_check_with_js_interop_types has been added to recommended: https://github.com/dart-lang/lints/commit/894b5006c463d2e1967fba3a8c3540d8ae249061 --- analysis_options.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index dbe4acadf4..54dd548c50 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -114,7 +114,7 @@ linter: - implicit_call_tearoffs - implicit_reopen - invalid_case_patterns - # - invalid_runtime_check_with_js_interop_types # not yet tested + - invalid_runtime_check_with_js_interop_types # - join_return_with_assignment # not required by flutter style - leading_newlines_in_multiline_strings - library_annotations @@ -256,6 +256,6 @@ linter: - use_super_parameters - use_test_throws_matchers # - use_to_and_as_if_applicable # has false positives, so we prefer to catch this by code-review - # - use_truncating_division # not yet tested + - use_truncating_division - valid_regexps - void_checks