Skip to content

Commit 1e09534

Browse files
committedSep 28, 2024·
Enable invalid_runtime_check_with_js_interop_types
1 parent df174df commit 1e09534

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎analysis_options.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ linter:
5050
# - avoid_annotating_with_dynamic # conflicts with always_specify_types
5151
- avoid_bool_literals_in_conditional_expressions
5252
# - avoid_catches_without_on_clauses # blocked on https://github.com/dart-lang/linter/issues/3023
53-
# - avoid_catching_errors # blocked on https://github.com/dart-lang/linter/issues/3023
53+
# - avoid_catching_errors # blocked on https://github.com/dart-lang/linter/issues/4998
5454
# - avoid_classes_with_only_static_members
5555
- avoid_double_and_int_checks
5656
- avoid_dynamic_calls
@@ -113,6 +113,8 @@ linter:
113113
- implementation_imports
114114
- implicit_call_tearoffs
115115
- implicit_reopen
116+
- invalid_case_patterns
117+
- invalid_runtime_check_with_js_interop_types
116118
# - invariant_booleans # too many false positives: https://github.com/dart-lang/linter/issues/811
117119
# - join_return_with_assignment # not required by flutter style
118120
- leading_newlines_in_multiline_strings
@@ -157,7 +159,7 @@ linter:
157159
# - prefer_constructors_over_static_methods # far too many false positives
158160
- prefer_contains
159161
# - prefer_double_quotes # opposite of prefer_single_quotes
160-
# - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods
162+
# - prefer_expression_function_bodies # conflicts with ./docs/contributing/Style-guide-for-Flutter-repo.md#consider-using--for-short-functions-and-methods
161163
- prefer_final_fields
162164
- prefer_final_in_for_each
163165
- prefer_final_locals
@@ -170,7 +172,7 @@ linter:
170172
- prefer_if_null_operators
171173
- prefer_initializing_formals
172174
- prefer_inlined_adds
173-
# - prefer_int_literals # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#use-double-literals-for-double-constants
175+
# - prefer_int_literals # conflicts with ./docs/contributing/Style-guide-for-Flutter-repo.md#use-double-literals-for-double-constants
174176
- prefer_interpolation_to_compose_strings
175177
- prefer_is_empty
176178
- prefer_is_not_empty

0 commit comments

Comments
 (0)
Please sign in to comment.