From 1137f0092a53223043df7bb5bde58ebfa6fcd42c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 30 May 2024 16:15:09 +0200 Subject: [PATCH] chore: Upgrade lints to 4.0.0 --- pubspec.yaml | 2 +- test/fake_database.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 603c0ff9..cf12c5b9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -40,6 +40,6 @@ dev_dependencies: enhanced_enum_generator: ^0.2.4 file: ">=6.1.1 <8.0.0" import_sorter: ^4.6.0 - lints: ^3.0.0 + lints: ^4.0.0 sqflite_common_ffi: 2.3.2+1 # v2.3.3 doesn't support dart v3.2.x test: ^1.15.7 diff --git a/test/fake_database.dart b/test/fake_database.dart index becc3add..f6763887 100644 --- a/test/fake_database.dart +++ b/test/fake_database.dart @@ -22,7 +22,7 @@ import 'package:sqflite_common_ffi/sqflite_ffi.dart'; import 'package:matrix/matrix.dart'; -Future getDatabase(Client? _) => getMatrixSdkDatabase(_); +Future getDatabase(Client? c) => getMatrixSdkDatabase(c); bool hiveInitialized = false;