Skip to content

Commit b206771

Browse files
authored
Make native bindings pass dart analysis (#985)
1 parent c148a3a commit b206771

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

pkgs/cupertino_http/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
incrementally.
77
* Deprecate `Data.fromUint8List` in favor of `Data.fromList`, which accepts
88
any `List<int>`.
9+
* Disable additional analyses for generated Objective-C bindings to prevent
10+
errors from `dart analyze`.
911

1012
## 1.0.1
1113

pkgs/cupertino_http/analysis_options.yaml

-4
This file was deleted.

pkgs/cupertino_http/ffigen.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ preamble: |
2828
// ignore_for_file: always_specify_types
2929
// ignore_for_file: camel_case_types
3030
// ignore_for_file: non_constant_identifier_names
31+
// ignore_for_file: unused_element
32+
// ignore_for_file: unused_field
33+
// ignore_for_file: return_of_invalid_type
3134
comments:
3235
style: any
3336
length: full

pkgs/cupertino_http/lib/src/native_cupertino_bindings.dart

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)