Skip to content

Commit

Permalink
Require Dart 3.0, update lints (dart-lang/path#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jun 8, 2023
1 parent 099fb5b commit b62bb65
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pkgs/path/.github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkgs/path/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 1 addition & 8 deletions pkgs/path/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
6 changes: 3 additions & 3 deletions pkgs/path/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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
web.
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

0 comments on commit b62bb65

Please sign in to comment.