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

rev the version of lints used; prep for publishing #155

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
9 changes: 0 additions & 9 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -10,5 +10,5 @@ environment:
sdk: ^3.0.0

dev_dependencies:
dart_flutter_team_lints: ^1.0.0
dart_flutter_team_lints: ^2.0.0
test: ^1.16.0
2 changes: 1 addition & 1 deletion test/posix_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void main() {

group('split', () {
test('simple cases', () {
expect(context.split(''), []);
expect(context.split(''), <String>[]);
expect(context.split('.'), ['.']);
expect(context.split('..'), ['..']);
expect(context.split('foo'), equals(['foo']));
Expand Down
2 changes: 1 addition & 1 deletion test/url_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void main() {

group('split', () {
test('simple cases', () {
expect(context.split(''), []);
expect(context.split(''), <String>[]);
expect(context.split('.'), ['.']);
expect(context.split('..'), ['..']);
expect(context.split('foo'), equals(['foo']));
Expand Down
2 changes: 1 addition & 1 deletion test/windows_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ void main() {

group('split', () {
test('simple cases', () {
expect(context.split(''), []);
expect(context.split(''), <String>[]);
expect(context.split('.'), ['.']);
expect(context.split('..'), ['..']);
expect(context.split('foo'), equals(['foo']));
Expand Down