Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 115ea2a

Browse files
authored
rev the version of lints used; prep for publishing (#155)
rev the version of lints used; prep for publishing
1 parent 18ec71f commit 115ea2a

File tree

6 files changed

+8
-17
lines changed

6 files changed

+8
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## 1.9.0-wip
1+
## 1.9.0
22

3-
* Require Dart 3.0
4-
* Fixed an issue with the `split` method doc comment.
53
* Allow percent-encoded colons (`%3a`) in drive letters in `fromUri`.
4+
* Fixed an issue with the `split` method doc comment.
5+
* Require Dart 3.0
66

77
## 1.8.3
88

analysis_options.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

3-
analyzer:
4-
language:
5-
strict-casts: true
6-
73
linter:
84
rules:
95
- avoid_private_typedef_functions
106
- avoid_unused_constructor_parameters
117
- avoid_void_async
128
- cancel_subscriptions
13-
- comment_references
149
- join_return_with_assignment
1510
- missing_whitespace_between_adjacent_strings
1611
- no_runtimeType_toString
1712
- package_api_docs
18-
- prefer_const_constructors
1913
- prefer_const_declarations
2014
- prefer_expression_function_bodies
2115
- prefer_final_locals
22-
- prefer_relative_imports
23-
- test_types_in_equals
2416
- unnecessary_breaks
2517
- use_string_buffers
26-
- use_super_parameters

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: path
2-
version: 1.9.0-wip
2+
version: 1.9.0
33
description: >-
44
A string-based path manipulation library. All of the path operations you know
55
and love, with solid support for Windows, POSIX (Linux and Mac OS X), and the
@@ -10,5 +10,5 @@ environment:
1010
sdk: ^3.0.0
1111

1212
dev_dependencies:
13-
dart_flutter_team_lints: ^1.0.0
13+
dart_flutter_team_lints: ^2.0.0
1414
test: ^1.16.0

test/posix_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ void main() {
259259

260260
group('split', () {
261261
test('simple cases', () {
262-
expect(context.split(''), []);
262+
expect(context.split(''), <String>[]);
263263
expect(context.split('.'), ['.']);
264264
expect(context.split('..'), ['..']);
265265
expect(context.split('foo'), equals(['foo']));

test/url_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ void main() {
377377

378378
group('split', () {
379379
test('simple cases', () {
380-
expect(context.split(''), []);
380+
expect(context.split(''), <String>[]);
381381
expect(context.split('.'), ['.']);
382382
expect(context.split('..'), ['..']);
383383
expect(context.split('foo'), equals(['foo']));

test/windows_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ void main() {
327327

328328
group('split', () {
329329
test('simple cases', () {
330-
expect(context.split(''), []);
330+
expect(context.split(''), <String>[]);
331331
expect(context.split('.'), ['.']);
332332
expect(context.split('..'), ['..']);
333333
expect(context.split('foo'), equals(['foo']));

0 commit comments

Comments
 (0)