diff --git a/dart/pubspec.yaml b/dart/pubspec.yaml index 46b4a52923..b8a4d537af 100644 --- a/dart/pubspec.yaml +++ b/dart/pubspec.yaml @@ -29,7 +29,7 @@ dependencies: dev_dependencies: build_runner: ^2.3.0 mockito: ^5.1.0 - lints: '>=2.0.0 <5.0.0' + lints: '>=2.0.0' test: ^1.21.1 yaml: ^3.1.0 # needed for version match (code and pubspec) coverage: ^1.3.0 diff --git a/dio/pubspec.yaml b/dio/pubspec.yaml index 708c169035..c757706988 100644 --- a/dio/pubspec.yaml +++ b/dio/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: dev_dependencies: meta: ^1.3.0 - lints: ^5.0.0 + lints: '>=2.0.0' test: ^1.21.1 coverage: ^1.3.0 mockito: ^5.1.0 diff --git a/drift/pubspec.yaml b/drift/pubspec.yaml index de8b841c76..02ba6f4618 100644 --- a/drift/pubspec.yaml +++ b/drift/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: drift: ^2.13.0 dev_dependencies: - lints: ^3.0.0 + lints: '>=2.0.0' flutter_test: sdk: flutter coverage: ^1.3.0 diff --git a/drift/test/sentry_database_test.dart b/drift/test/sentry_database_test.dart index 9028889630..4a3d4daa3c 100644 --- a/drift/test/sentry_database_test.dart +++ b/drift/test/sentry_database_test.dart @@ -1,4 +1,4 @@ -// ignore_for_file: invalid_use_of_internal_member +// ignore_for_file: invalid_use_of_internal_member, library_annotations @TestOn('vm') diff --git a/file/pubspec.yaml b/file/pubspec.yaml index 4a31a3ceaa..85961e7944 100644 --- a/file/pubspec.yaml +++ b/file/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: meta: ^1.3.0 dev_dependencies: - lints: ^4.0.0 + lints: '>=2.0.0' test: ^1.21.1 coverage: ^1.3.0 mockito: ^5.1.0 diff --git a/file/test/sentry_file_extension_test.dart b/file/test/sentry_file_extension_test.dart index 843de96003..b56ab335be 100644 --- a/file/test/sentry_file_extension_test.dart +++ b/file/test/sentry_file_extension_test.dart @@ -1,5 +1,6 @@ +// ignore_for_file: library_annotations + @TestOn('vm') -library file_test; import 'dart:io'; diff --git a/file/test/sentry_file_test.dart b/file/test/sentry_file_test.dart index 8a1731a96c..866671680f 100644 --- a/file/test/sentry_file_test.dart +++ b/file/test/sentry_file_test.dart @@ -1,7 +1,6 @@ -// ignore_for_file: invalid_use_of_internal_member +// ignore_for_file: invalid_use_of_internal_member, library_annotations @TestOn('vm') -library file_test; import 'dart:io'; diff --git a/file/test/version_test.dart b/file/test/version_test.dart index a21aeea800..c352f85461 100644 --- a/file/test/version_test.dart +++ b/file/test/version_test.dart @@ -1,5 +1,6 @@ +// ignore_for_file: library_annotations + @TestOn('vm') -library file_test; import 'dart:io'; diff --git a/hive/pubspec.yaml b/hive/pubspec.yaml index 8087900cbb..a14a7ab556 100644 --- a/hive/pubspec.yaml +++ b/hive/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: meta: ^1.3.0 dev_dependencies: - lints: ^2.0.0 + lints: '>=2.0.0' test: ^1.21.0 yaml: ^3.1.0 # needed for version match (code and pubspec) mockito: ^5.1.0 diff --git a/hive/test/sentry_box_base_test.dart b/hive/test/sentry_box_base_test.dart index e46564a3f3..f8e027cf32 100644 --- a/hive/test/sentry_box_base_test.dart +++ b/hive/test/sentry_box_base_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: library_annotations + @TestOn('vm') import 'dart:io'; diff --git a/hive/test/sentry_box_collection_test.dart b/hive/test/sentry_box_collection_test.dart index 3f730be3c1..d62ebf6ffe 100644 --- a/hive/test/sentry_box_collection_test.dart +++ b/hive/test/sentry_box_collection_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: library_annotations + @TestOn('vm') import 'dart:io'; diff --git a/hive/test/sentry_hive_impl_test.dart b/hive/test/sentry_hive_impl_test.dart index a478c9f24a..531a10910b 100644 --- a/hive/test/sentry_hive_impl_test.dart +++ b/hive/test/sentry_hive_impl_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: library_annotations + @TestOn('vm') import 'dart:io'; diff --git a/hive/test/sentry_lazy_box_test.dart b/hive/test/sentry_lazy_box_test.dart index 72282ada42..05e24b5e41 100644 --- a/hive/test/sentry_lazy_box_test.dart +++ b/hive/test/sentry_lazy_box_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: library_annotations + @TestOn('vm') import 'dart:io'; diff --git a/isar/pubspec.yaml b/isar/pubspec.yaml index c3f4ad9466..4351e14c34 100644 --- a/isar/pubspec.yaml +++ b/isar/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: dev_dependencies: isar_generator: ^3.1.0 build_runner: ^2.4.6 - lints: ^3.0.0 + lints: '>=2.0.0' flutter_test: sdk: flutter coverage: ^1.3.0 diff --git a/isar/test/sentry_isar_test.dart b/isar/test/sentry_isar_test.dart index 00bafb2164..5e11715e01 100644 --- a/isar/test/sentry_isar_test.dart +++ b/isar/test/sentry_isar_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: library_annotations + @TestOn('vm') import 'dart:io'; diff --git a/logging/pubspec.yaml b/logging/pubspec.yaml index a62fa30113..6e614265bd 100644 --- a/logging/pubspec.yaml +++ b/logging/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: sentry: 8.9.0 dev_dependencies: - lints: ^4.0.0 + lints: '>=2.0.0' test: ^1.21.1 yaml: ^3.1.0 # needed for version match (code and pubspec) coverage: ^1.3.0 diff --git a/sqflite/pubspec.yaml b/sqflite/pubspec.yaml index 6ac65b9a1f..1d5885576d 100644 --- a/sqflite/pubspec.yaml +++ b/sqflite/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: path: ^1.8.3 dev_dependencies: - lints: ^4.0.0 + lints: '>=2.0.0' flutter_test: sdk: flutter coverage: ^1.3.0