Require Dart 3.0, update lints (dart-lang/term_glyph#39)
diff --git a/pkgs/term_glyph/.github/workflows/test-package.yml b/pkgs/term_glyph/.github/workflows/test-package.yml index c21c3dd..1f82430 100644 --- a/pkgs/term_glyph/.github/workflows/test-package.yml +++ b/pkgs/term_glyph/.github/workflows/test-package.yml
@@ -47,7 +47,7 @@ matrix: # Add macos-latest and/or windows-latest if relevant for this package. os: [ubuntu-latest] - sdk: [2.17.0, dev] + sdk: [3.0.0, dev] steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
diff --git a/pkgs/term_glyph/CHANGELOG.md b/pkgs/term_glyph/CHANGELOG.md index 1cf47ac..657329c 100644 --- a/pkgs/term_glyph/CHANGELOG.md +++ b/pkgs/term_glyph/CHANGELOG.md
@@ -1,6 +1,6 @@ -## 1.2.2-dev +## 1.2.2-wip -* Require Dart 2.17 +* Require Dart 3.0 ## 1.2.1
diff --git a/pkgs/term_glyph/analysis_options.yaml b/pkgs/term_glyph/analysis_options.yaml index a4cc659..fc4afe3 100644 --- a/pkgs/term_glyph/analysis_options.yaml +++ b/pkgs/term_glyph/analysis_options.yaml
@@ -1,3 +1,4 @@ +# https://dart.dev/guides/language/analysis-options include: package:dart_flutter_team_lints/analysis_options.yaml analyzer: @@ -18,10 +19,8 @@ - avoid_unused_constructor_parameters - avoid_void_async - cancel_subscriptions - #- cascade_invocations - comment_references - join_return_with_assignment - #- lines_longer_than_80_chars - literal_only_boolean_expressions - missing_whitespace_between_adjacent_strings - no_adjacent_strings_in_list @@ -34,4 +33,8 @@ - prefer_relative_imports - test_types_in_equals - unnecessary_await_in_return + - unnecessary_breaks + - use_if_null_to_convert_nulls_to_bools + - use_raw_strings - use_string_buffers + - use_super_parameters
diff --git a/pkgs/term_glyph/pubspec.yaml b/pkgs/term_glyph/pubspec.yaml index 6c6a5f1..5a77020 100644 --- a/pkgs/term_glyph/pubspec.yaml +++ b/pkgs/term_glyph/pubspec.yaml
@@ -1,13 +1,13 @@ name: term_glyph -version: 1.2.2-dev +version: 1.2.2-wip description: Useful Unicode glyphs and ASCII substitutes. repository: https://github.com/dart-lang/term_glyph environment: - sdk: ">=2.17.0 <3.0.0" + sdk: ^3.0.0 dev_dependencies: csv: ^5.0.0 - dart_flutter_team_lints: ^0.1.0 + dart_flutter_team_lints: ^1.0.0 dart_style: ^2.0.0 test: ^1.16.0