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.
* Change the way local changes are handled to match packages
* only_throw_errors
* Enable no_default_cases
* Fix violations in camera
* Fix violations in webview
* Fix url_launcher violation
* Fix violations in shared_preferences
* Fix violations in maps
* Version bumps
* Fix image_picker violations
* Fix video_player violations
* New version bumps
* Update excerpts
* Address review feedback
Copy file name to clipboardExpand all lines: analysis_options.yaml
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -141,19 +141,19 @@ linter:
141
141
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/linter/issues/453
142
142
- missing_whitespace_between_adjacent_strings
143
143
- no_adjacent_strings_in_list
144
-
#- no_default_cases # LOCAL CHANGE - Needs to be enabled and violations fixed.
144
+
- no_default_cases
145
145
- no_duplicate_case_values
146
146
- no_leading_underscores_for_library_prefixes
147
147
- no_leading_underscores_for_local_identifiers
148
148
- no_logic_in_create_state
149
-
#- no_runtimeType_toString # ok in tests; we enable this only in packages/
149
+
- no_runtimeType_toString #DIFFERENT FROM FLUTTER/FLUTTER
150
150
- non_constant_identifier_names
151
151
- noop_primitive_operations
152
152
- null_check_on_nullable_type_parameter
153
153
- null_closures
154
154
# - omit_local_variable_types # opposite of always_specify_types
155
155
# - one_member_abstracts # too many false positives
156
-
#- only_throw_errors # this does get disabled in a few places where we have legacy code that uses strings et al # LOCAL CHANGE - Needs to be enabled and violations fixed.
156
+
- only_throw_errors # this does get disabled in a few places where we have legacy code that uses strings et al
157
157
- overridden_fields
158
158
- package_api_docs
159
159
- package_names
@@ -200,7 +200,7 @@ linter:
200
200
- prefer_typing_uninitialized_variables
201
201
- prefer_void_to_null
202
202
- provide_deprecation_message
203
-
#- public_member_api_docs # enabled on a case-by-case basis; see e.g. packages/analysis_options.yaml
203
+
- public_member_api_docs #DIFFERENT FROM FLUTTER/FLUTTER
204
204
- recursive_getters
205
205
# - require_trailing_commas # blocked on https://github.com/dart-lang/sdk/issues/47441
206
206
- secure_pubspec_urls
@@ -261,8 +261,3 @@ linter:
261
261
# - use_to_and_as_if_applicable # has false positives, so we prefer to catch this by code-review
262
262
- valid_regexps
263
263
- void_checks
264
-
### Local flutter/plugins additions ###
265
-
# These are from flutter/flutter/packages, so will need to be preserved
266
-
# separately when moving to a shared file.
267
-
- no_runtimeType_toString # use objectRuntimeType from package:foundation
268
-
- public_member_api_docs # see https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#documentation-dartdocs-javadocs-etc
0 commit comments