Skip to content

Commit

Permalink
Update lints (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jun 24, 2024
1 parent 497bc15 commit 2971f32
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pkgs/cronet_http/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
provider: ^6.1.1

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
flutter_test:
sdk: flutter
http_client_conformance_tests:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cronet_http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
jni: ^0.9.2

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
jnigen: ^0.9.2
xml: ^6.1.0
yaml_edit: ^2.0.3
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cupertino_http/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
dev_dependencies:
convert: ^3.1.1
crypto: ^3.0.3
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
ffi: ^2.0.1
flutter_test:
sdk: flutter
Expand Down
4 changes: 2 additions & 2 deletions pkgs/cupertino_http/lib/src/cupertino_web_socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class CupertinoWebSocket implements WebSocket {
}
_task
.sendMessage(URLSessionWebSocketMessage.fromData(Data.fromList(b)))
.then((_) => _, onError: _closeConnectionWithError);
.then((value) => value, onError: _closeConnectionWithError);
}

@override
Expand All @@ -176,7 +176,7 @@ class CupertinoWebSocket implements WebSocket {
}
_task
.sendMessage(URLSessionWebSocketMessage.fromString(s))
.then((_) => _, onError: _closeConnectionWithError);
.then((value) => value, onError: _closeConnectionWithError);
}

@override
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cupertino_http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
web_socket: ^0.1.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
ffigen: ^11.0.0

flutter:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/flutter_http_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
provider: ^6.0.5

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
flutter_test:
sdk: flutter
integration_test:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/http/lib/testing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// 200,
/// headers: {'content-type': 'application/json'});
/// });
library http.testing;
library;

import 'src/mock_client.dart';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
web: ^0.5.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
fake_async: ^1.2.0
http_client_conformance_tests:
path: ../http_client_conformance_tests/
Expand Down
2 changes: 1 addition & 1 deletion pkgs/http_client_conformance_tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ dependencies:
test: ^1.21.2

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
2 changes: 1 addition & 1 deletion pkgs/java_http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
path: ^1.8.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
http_client_conformance_tests:
path: ../http_client_conformance_tests/
jnigen: ^0.5.0
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ok_http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
plugin_platform_interface: ^2.0.2

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
jnigen: ^0.9.1

flutter:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/web_socket/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
sdk: ^3.3.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0
test: ^1.24.0
web_socket_conformance_tests:
path: ../web_socket_conformance_tests/
Expand Down
2 changes: 1 addition & 1 deletion pkgs/web_socket_conformance_tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ dependencies:
web_socket: ^0.1.0

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.0.0

0 comments on commit 2971f32

Please sign in to comment.