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
Updates minimum supported SDK version to Flutter 3.13/Dart 3.1
This change is a continuation of this PR.
#675
This change will enable the lint option below and apply the changes.
And update the SDK version to apply these lint options.
This should be common to all plugins, so apply them together.
- unnecessary_null_comparison
- unawaited_futures
- dangling_library_doc_comments
- no_literal_bool_comparisons
- unnecessary_library_directive
- use_colored_box
- use_enums
- use_string_in_part_of_directives
unnecessary_null_comparison: ignore # Temporarily ingnored from flutter-tizen.
16
15
exclude: # DIFFERENT FROM FLUTTER/FLUTTER
17
16
# Ignore generated files
18
17
- '**/*.g.dart'
@@ -80,7 +79,7 @@ linter:
80
79
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
81
80
- control_flow_in_finally
82
81
- curly_braces_in_flow_control_structures
83
-
#- dangling_library_doc_comments # Temporarily ingnored from flutter-tizen.
82
+
- dangling_library_doc_comments
84
83
- depend_on_referenced_packages
85
84
- deprecated_consistency
86
85
# - deprecated_member_use_from_same_package # we allow self-references to deprecated members
@@ -115,7 +114,7 @@ linter:
115
114
- no_duplicate_case_values
116
115
- no_leading_underscores_for_library_prefixes
117
116
- no_leading_underscores_for_local_identifiers
118
-
#- no_literal_bool_comparisons # Temporarily ingnored from flutter-tizen.
117
+
- no_literal_bool_comparisons
119
118
- no_logic_in_create_state
120
119
- no_runtimeType_toString # DIFFERENT FROM FLUTTER/FLUTTER
121
120
- no_self_assignments
@@ -189,7 +188,7 @@ linter:
189
188
# - type_annotate_public_apis # subset of always_specify_types
190
189
- type_init_formals
191
190
- type_literal_in_constant_pattern
192
-
#- unawaited_futures # DIFFERENT FROM FLUTTER/FLUTTER: It's disabled there for "too many false positives"; that's not an issue here, and missing awaits have caused production issues in plugins. # Temporarily ingnored from flutter-tizen.
191
+
- unawaited_futures # DIFFERENT FROM FLUTTER/FLUTTER: It's disabled there for "too many false positives"; that's not an issue here, and missing awaits have caused production issues in plugins.
193
192
- unnecessary_await_in_return
194
193
- unnecessary_brace_in_string_interps
195
194
- unnecessary_breaks
@@ -199,7 +198,7 @@ linter:
199
198
- unnecessary_getters_setters
200
199
# - unnecessary_lambdas # has false positives: https://github.com/dart-lang/linter/issues/498
201
200
- unnecessary_late
202
-
#- unnecessary_library_directive # Temporarily ingnored from flutter-tizen.
0 commit comments