From 1cb9692df63b53a3f6f185f0d0c8ac2885948210 Mon Sep 17 00:00:00 2001 From: Volodymyr Date: Tue, 26 Nov 2024 14:25:23 +0200 Subject: [PATCH] refactor(all): Use range of flutter_lints for broader compatibility --- packages/android_alarm_manager_plus/example/pubspec.yaml | 2 +- packages/android_intent_plus/example/pubspec.yaml | 2 +- packages/battery_plus/battery_plus/example/pubspec.yaml | 2 +- .../connectivity_plus/connectivity_plus/example/pubspec.yaml | 2 +- packages/device_info_plus/device_info_plus/example/pubspec.yaml | 2 +- packages/device_info_plus/device_info_plus/pubspec.yaml | 2 +- .../device_info_plus_platform_interface/pubspec.yaml | 2 +- .../network_info_plus/network_info_plus/example/pubspec.yaml | 2 +- packages/network_info_plus/network_info_plus/pubspec.yaml | 2 +- .../network_info_plus_platform_interface/pubspec.yaml | 2 +- .../package_info_plus/package_info_plus/example/pubspec.yaml | 2 +- packages/package_info_plus/package_info_plus/pubspec.yaml | 2 +- .../package_info_plus_platform_interface/pubspec.yaml | 2 +- packages/sensors_plus/sensors_plus/example/pubspec.yaml | 2 +- packages/sensors_plus/sensors_plus/pubspec.yaml | 2 +- .../sensors_plus/sensors_plus_platform_interface/pubspec.yaml | 2 +- packages/share_plus/share_plus/example/pubspec.yaml | 2 +- packages/share_plus/share_plus/pubspec.yaml | 2 +- packages/share_plus/share_plus_platform_interface/pubspec.yaml | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/android_alarm_manager_plus/example/pubspec.yaml b/packages/android_alarm_manager_plus/example/pubspec.yaml index 495544fc92..8eff0634d5 100644 --- a/packages/android_alarm_manager_plus/example/pubspec.yaml +++ b/packages/android_alarm_manager_plus/example/pubspec.yaml @@ -18,7 +18,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter: uses-material-design: true diff --git a/packages/android_intent_plus/example/pubspec.yaml b/packages/android_intent_plus/example/pubspec.yaml index ece5c24452..52ea923520 100644 --- a/packages/android_intent_plus/example/pubspec.yaml +++ b/packages/android_intent_plus/example/pubspec.yaml @@ -18,7 +18,7 @@ dev_dependencies: sdk: flutter flutter_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" # The following section is specific to Flutter. flutter: diff --git a/packages/battery_plus/battery_plus/example/pubspec.yaml b/packages/battery_plus/battery_plus/example/pubspec.yaml index 714b2bfc9d..2feea312a2 100644 --- a/packages/battery_plus/battery_plus/example/pubspec.yaml +++ b/packages/battery_plus/battery_plus/example/pubspec.yaml @@ -17,7 +17,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter: uses-material-design: true diff --git a/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml b/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml index 6ae05c65d1..ccb258ec2d 100644 --- a/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus/example/pubspec.yaml @@ -17,7 +17,7 @@ dev_dependencies: integration_test: sdk: flutter test: ^1.16.4 - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter: uses-material-design: true diff --git a/packages/device_info_plus/device_info_plus/example/pubspec.yaml b/packages/device_info_plus/device_info_plus/example/pubspec.yaml index 7f9597c7e5..d54544c328 100644 --- a/packages/device_info_plus/device_info_plus/example/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus/example/pubspec.yaml @@ -13,7 +13,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter: uses-material-design: true diff --git a/packages/device_info_plus/device_info_plus/pubspec.yaml b/packages/device_info_plus/device_info_plus/pubspec.yaml index 8f71b9ab9e..054fe952f5 100644 --- a/packages/device_info_plus/device_info_plus/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus/pubspec.yaml @@ -42,7 +42,7 @@ dependencies: win32_registry: ^1.1.0 dev_dependencies: - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" flutter_test: sdk: flutter mockito: ^5.4.0 diff --git a/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml b/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml index 2ae11e4430..de09ee9785 100644 --- a/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus_platform_interface/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: plugin_platform_interface: ^2.1.4 dev_dependencies: - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" flutter_test: sdk: flutter mockito: ^5.4.0 diff --git a/packages/network_info_plus/network_info_plus/example/pubspec.yaml b/packages/network_info_plus/network_info_plus/example/pubspec.yaml index 69d2f55623..cfbdd495e9 100644 --- a/packages/network_info_plus/network_info_plus/example/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus/example/pubspec.yaml @@ -16,7 +16,7 @@ dev_dependencies: integration_test: sdk: flutter test: ^1.21.0 - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter: uses-material-design: true diff --git a/packages/network_info_plus/network_info_plus/pubspec.yaml b/packages/network_info_plus/network_info_plus/pubspec.yaml index d229537d28..cb9924e59b 100644 --- a/packages/network_info_plus/network_info_plus/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus/pubspec.yaml @@ -48,4 +48,4 @@ dev_dependencies: sdk: flutter mockito: ^5.4.0 plugin_platform_interface: ^2.1.4 - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" diff --git a/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml b/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml index b5959a485a..4cf1f7c465 100644 --- a/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml +++ b/packages/network_info_plus/network_info_plus_platform_interface/pubspec.yaml @@ -17,4 +17,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" diff --git a/packages/package_info_plus/package_info_plus/example/pubspec.yaml b/packages/package_info_plus/package_info_plus/example/pubspec.yaml index 564e41b9af..3b4c4f8266 100644 --- a/packages/package_info_plus/package_info_plus/example/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus/example/pubspec.yaml @@ -20,7 +20,7 @@ dev_dependencies: sdk: flutter flutter_driver: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter_test: sdk: flutter mockito: ^5.4.0 diff --git a/packages/package_info_plus/package_info_plus/pubspec.yaml b/packages/package_info_plus/package_info_plus/pubspec.yaml index f5456a4ecf..c0c077e235 100644 --- a/packages/package_info_plus/package_info_plus/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus/pubspec.yaml @@ -42,7 +42,7 @@ dependencies: clock: ^1.1.1 dev_dependencies: - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" flutter_test: sdk: flutter test: ^1.22.0 diff --git a/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml b/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml index a700b4ca97..fa07ca3c3a 100644 --- a/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml +++ b/packages/package_info_plus/package_info_plus_platform_interface/pubspec.yaml @@ -14,7 +14,7 @@ dev_dependencies: flutter_test: sdk: flutter mockito: ^5.4.0 - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" environment: sdk: ">=2.18.0 <4.0.0" diff --git a/packages/sensors_plus/sensors_plus/example/pubspec.yaml b/packages/sensors_plus/sensors_plus/example/pubspec.yaml index df065993ab..324f87c839 100644 --- a/packages/sensors_plus/sensors_plus/example/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus/example/pubspec.yaml @@ -11,7 +11,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter_test: sdk: flutter diff --git a/packages/sensors_plus/sensors_plus/pubspec.yaml b/packages/sensors_plus/sensors_plus/pubspec.yaml index 240769b2e1..c27e320713 100644 --- a/packages/sensors_plus/sensors_plus/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus/pubspec.yaml @@ -33,7 +33,7 @@ dev_dependencies: test: ^1.22.0 flutter_test: sdk: flutter - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" environment: sdk: ">=3.3.0 <4.0.0" diff --git a/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml b/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml index 54f6c4a56b..8f82855b7b 100644 --- a/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml +++ b/packages/sensors_plus/sensors_plus_platform_interface/pubspec.yaml @@ -14,7 +14,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" test: ^1.22.0 environment: diff --git a/packages/share_plus/share_plus/example/pubspec.yaml b/packages/share_plus/share_plus/example/pubspec.yaml index e879a8d7ae..5ff6984019 100644 --- a/packages/share_plus/share_plus/example/pubspec.yaml +++ b/packages/share_plus/share_plus/example/pubspec.yaml @@ -15,7 +15,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - flutter_lints: ^5.0.0 + flutter_lints: ">=4.0.0 <6.0.0" flutter: uses-material-design: true diff --git a/packages/share_plus/share_plus/pubspec.yaml b/packages/share_plus/share_plus/pubspec.yaml index 552a4e0393..dc6bc421e1 100644 --- a/packages/share_plus/share_plus/pubspec.yaml +++ b/packages/share_plus/share_plus/pubspec.yaml @@ -48,7 +48,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" environment: sdk: ">=3.4.0 <4.0.0" diff --git a/packages/share_plus/share_plus_platform_interface/pubspec.yaml b/packages/share_plus/share_plus_platform_interface/pubspec.yaml index 11080838d6..fd51bcc76b 100644 --- a/packages/share_plus/share_plus_platform_interface/pubspec.yaml +++ b/packages/share_plus/share_plus_platform_interface/pubspec.yaml @@ -18,7 +18,7 @@ dev_dependencies: flutter_test: sdk: flutter mockito: ^5.4.0 - flutter_lints: ">=2.0.1 <6.0.0" + flutter_lints: ">=4.0.0 <6.0.0" test: ^1.22.0 environment: