rev the version of lints used; prep for publishing (#155)
rev the version of lints used; prep for publishing
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 88a3d94..7e77e68 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,8 @@
-## 1.9.0-wip
+## 1.9.0
-* Require Dart 3.0
-* Fixed an issue with the `split` method doc comment.
* Allow percent-encoded colons (`%3a`) in drive letters in `fromUri`.
+* Fixed an issue with the `split` method doc comment.
+* Require Dart 3.0
## 1.8.3
diff --git a/analysis_options.yaml b/analysis_options.yaml
index e0c9b27..0b63e94 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -1,26 +1,17 @@
include: package:dart_flutter_team_lints/analysis_options.yaml
-analyzer:
- language:
- strict-casts: true
-
linter:
rules:
- avoid_private_typedef_functions
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
- - comment_references
- join_return_with_assignment
- missing_whitespace_between_adjacent_strings
- no_runtimeType_toString
- package_api_docs
- - prefer_const_constructors
- prefer_const_declarations
- prefer_expression_function_bodies
- prefer_final_locals
- - prefer_relative_imports
- - test_types_in_equals
- unnecessary_breaks
- use_string_buffers
- - use_super_parameters
diff --git a/pubspec.yaml b/pubspec.yaml
index 63bbecc..b6e2a91 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: path
-version: 1.9.0-wip
+version: 1.9.0
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
@@ -10,5 +10,5 @@
sdk: ^3.0.0
dev_dependencies:
- dart_flutter_team_lints: ^1.0.0
+ dart_flutter_team_lints: ^2.0.0
test: ^1.16.0
diff --git a/test/posix_test.dart b/test/posix_test.dart
index 7f1a552..121b4e3 100644
--- a/test/posix_test.dart
+++ b/test/posix_test.dart
@@ -259,7 +259,7 @@
group('split', () {
test('simple cases', () {
- expect(context.split(''), []);
+ expect(context.split(''), <String>[]);
expect(context.split('.'), ['.']);
expect(context.split('..'), ['..']);
expect(context.split('foo'), equals(['foo']));
diff --git a/test/url_test.dart b/test/url_test.dart
index 8a043dc..df4e582 100644
--- a/test/url_test.dart
+++ b/test/url_test.dart
@@ -377,7 +377,7 @@
group('split', () {
test('simple cases', () {
- expect(context.split(''), []);
+ expect(context.split(''), <String>[]);
expect(context.split('.'), ['.']);
expect(context.split('..'), ['..']);
expect(context.split('foo'), equals(['foo']));
diff --git a/test/windows_test.dart b/test/windows_test.dart
index 0bc2d4e..180f560 100644
--- a/test/windows_test.dart
+++ b/test/windows_test.dart
@@ -327,7 +327,7 @@
group('split', () {
test('simple cases', () {
- expect(context.split(''), []);
+ expect(context.split(''), <String>[]);
expect(context.split('.'), ['.']);
expect(context.split('..'), ['..']);
expect(context.split('foo'), equals(['foo']));