Bump lints from 2.1.1 to 3.0.0 (#675)

This commit is contained in:
dependabot[bot] 2023-10-23 08:44:11 +00:00 committed by GitHub
parent e24550ae32
commit b7f9115b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,7 @@
/// Exports an interface suitable for defining an alternate implementation of
/// [ClientChannel].
library;
export 'src/client/call.dart' show CallOptions, ClientCall;
export 'src/client/channel.dart' show ClientChannelBase;

View File

@ -22,7 +22,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.0.0
build_test: ^2.0.0
lints: ^2.0.0
lints: ">=2.0.0 <4.0.0"
mockito: ^5.0.0
path: ^1.8.0
test: ^1.16.0

View File

@ -122,7 +122,7 @@ class ServerHarness extends _Harness {
@override
ConnectionServer createServer() => Server.create(
services: <Service>[service],
interceptors: <Interceptor>[interceptor],
interceptors: <Interceptor>[interceptor.call],
);
static ServiceMethod<int, int> createMethod(String name,
@ -136,7 +136,7 @@ class ConnectionServerHarness extends _Harness {
@override
ConnectionServer createServer() => ConnectionServer(
<Service>[service],
<Interceptor>[interceptor],
<Interceptor>[interceptor.call],
);
static ServiceMethod<int, int> createMethod(