You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: analysis_options.yaml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ linter:
98
98
- deprecated_consistency
99
99
# - diagnostic_describe_all_properties # enabled only at the framework level (packages/flutter/lib)
100
100
- directives_ordering
101
-
# - discarded_futures # not yet tested
101
+
# - discarded_futures # too many false positives, similar to unawaited_futures
102
102
# - do_not_use_environment # there are appropriate times to use the environment, especially in our tests and build logic
103
103
- empty_catches
104
104
- empty_constructor_bodies
@@ -170,7 +170,7 @@ linter:
170
170
- prefer_is_not_empty
171
171
- prefer_is_not_operator
172
172
- prefer_iterable_whereType
173
-
# - prefer_mixin # Has false positives, see https://github.com/dart-lang/linter/issues/3018
173
+
# - prefer_mixin # has false positives, see https://github.com/dart-lang/linter/issues/3018
174
174
# - prefer_null_aware_method_calls # "call()" is confusing to people new to the language since it's not documented anywhere
175
175
- prefer_null_aware_operators
176
176
- prefer_relative_imports
@@ -181,10 +181,10 @@ linter:
181
181
- provide_deprecation_message
182
182
# - public_member_api_docs # enabled on a case-by-case basis; see e.g. packages/analysis_options.yaml
183
183
- recursive_getters
184
-
# - require_trailing_commas # blocked on https://github.com/dart-lang/sdk/issues/47441
184
+
# - require_trailing_commas # would be nice, but requires a lot of manual work: 10,000+ code locations would need to be reformatted by hand after bulk fix is applied
185
185
- secure_pubspec_urls
186
186
- sized_box_for_whitespace
187
-
#- sized_box_shrink_expand # not yet tested
187
+
- sized_box_shrink_expand
188
188
- slash_for_doc_comments
189
189
- sort_child_properties_last
190
190
- sort_constructors_first
@@ -222,7 +222,7 @@ linter:
222
222
- unsafe_html
223
223
- use_build_context_synchronously
224
224
# - use_colored_box # not yet tested
225
-
# - use_decorated_box # not yet tested
225
+
# - use_decorated_box # leads to bugs: DecoratedBox and Container are not equivalent (Container inserts extra padding)
0 commit comments