New package stream_transform
diff --git a/pkgs/stream_transform/.gitignore b/pkgs/stream_transform/.gitignore new file mode 100644 index 0000000..47f11e5 --- /dev/null +++ b/pkgs/stream_transform/.gitignore
@@ -0,0 +1,5 @@ +.pub/ +build/ +packages +pubspec.lock +.packages
diff --git a/pkgs/stream_transform/analysis_options.yaml b/pkgs/stream_transform/analysis_options.yaml new file mode 100644 index 0000000..590a8e5 --- /dev/null +++ b/pkgs/stream_transform/analysis_options.yaml
@@ -0,0 +1,37 @@ +analyzer: + strong-mode: true + errors: + unused_import: error + unused_local_variable: error + dead_code: error + override_on_non_overriding_method: error + +linter: + rules: + # Errors + - avoid_empty_else + # Wait for FutureOr to work + #- await_only_futures + - comment_references + - control_flow_in_finally + - empty_statements + - hash_and_equals + - test_types_in_equals + - throw_in_finally + - unawaited_futures + - unrelated_type_equality_checks + - valid_regexps + + # Style + - annotate_overrides + - avoid_init_to_null + - avoid_return_types_on_setters + - camel_case_types + - empty_catches + - empty_constructor_bodies + - library_names + - library_prefixes + - non_constant_identifier_names + - prefer_is_not_empty + - slash_for_doc_comments + - type_init_formals
diff --git a/pkgs/stream_transform/pubspec.yaml b/pkgs/stream_transform/pubspec.yaml new file mode 100644 index 0000000..129aa9c --- /dev/null +++ b/pkgs/stream_transform/pubspec.yaml
@@ -0,0 +1,10 @@ +name: stream_transform +description: A collection of utilities to transform and manipulate streams. +author: Dart Team <misc@dartlang.org> +homepage: https://www.github.com/dart-lang/stream_transform + +environment: + sdk: ">=1.22.0 <2.0.0" + +dev_dependencies: + test: ^0.12.0