From 592505f67d0563f72c933c2ba100ea7d4f3cb873 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Wed, 7 Jun 2023 17:31:51 -0700 Subject: [PATCH] Require Dart 3.0, update lints (#146) --- .github/workflows/dart.yml | 2 +- CHANGELOG.md | 4 ++-- analysis_options.yaml | 9 +-------- pubspec.yaml | 6 +++--- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index fdca0eb..d1d735a 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -42,7 +42,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - sdk: [2.19.0, dev] + sdk: [3.0.0, dev] steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f diff --git a/CHANGELOG.md b/CHANGELOG.md index 0134e94..f1073b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## 1.8.4-dev +## 1.8.4-wip -* Require Dart 2.19 +* Require Dart 3.0 * Fixed an issue with the `split` method doc comment. ## 1.8.3 diff --git a/analysis_options.yaml b/analysis_options.yaml index 1f2c024..e0c9b27 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -10,13 +10,8 @@ linter: - avoid_unused_constructor_parameters - avoid_void_async - cancel_subscriptions - - collection_methods_unrelated_type - - combinators_ordering - comment_references - - dangling_library_doc_comments - - implicit_call_tearoffs - join_return_with_assignment - - library_annotations - missing_whitespace_between_adjacent_strings - no_runtimeType_toString - package_api_docs @@ -26,8 +21,6 @@ linter: - prefer_final_locals - prefer_relative_imports - test_types_in_equals - - unnecessary_library_directive - - unreachable_from_main + - unnecessary_breaks - use_string_buffers - - use_string_in_part_of_directives - use_super_parameters diff --git a/pubspec.yaml b/pubspec.yaml index 0723334..65ceee5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: path -version: 1.8.4-dev +version: 1.8.4-wip description: >- A string-based path manipulation library. All of the path operations you know and love, with solid support for Windows, POSIX (Linux and Mac OS X), and the @@ -7,8 +7,8 @@ description: >- repository: https://github.com/dart-lang/path environment: - sdk: ">=2.19.0 <3.0.0" + sdk: ^3.0.0 dev_dependencies: - dart_flutter_team_lints: ^0.1.0 + dart_flutter_team_lints: ^1.0.0 test: ^1.16.0