From 2bfa3805bc4d2474849e6bfd7d7808fe6d957044 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Mon, 30 Sep 2024 17:37:59 -0500 Subject: [PATCH] Update lint package versions --- examples/example_utils/pubspec.yaml | 2 +- site-shared | 2 +- src/content/testing/integration-tests/index.md | 10 ++++++---- src/content/tools/pubspec.md | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/example_utils/pubspec.yaml b/examples/example_utils/pubspec.yaml index 82a1c21762..3805c27e6b 100644 --- a/examples/example_utils/pubspec.yaml +++ b/examples/example_utils/pubspec.yaml @@ -6,4 +6,4 @@ environment: sdk: ^3.5.0 dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 diff --git a/site-shared b/site-shared index 43ee194938..61010ce573 160000 --- a/site-shared +++ b/site-shared @@ -1 +1 @@ -Subproject commit 43ee1949382ad3961e3192d702681b02af03ca90 +Subproject commit 61010ce5737e4bd0bc739c734ad8d44260fefe8a diff --git a/src/content/testing/integration-tests/index.md b/src/content/testing/integration-tests/index.md index 416c201950..2c2c10b6af 100644 --- a/src/content/testing/integration-tests/index.md +++ b/src/content/testing/integration-tests/index.md @@ -146,7 +146,9 @@ To add `integration_test` and `flutter_test` packages as ```console $ flutter pub add 'dev:integration_test:{"sdk":"flutter"}' ``` -Output + +Output: + ```console Building flutter tool... Resolving dependencies... @@ -165,15 +167,15 @@ Changed 8 dependencies! Try `flutter pub outdated` for more information. ``` -Updated `pubspec.yaml` file +Updated `pubspec.yaml` file: ```yaml title="pubspec.yaml" # ... dev_dependencies: - # ... added depencies + # ... added dependencies flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 [!integration_test:!] [!sdk: flutter!] # ... diff --git a/src/content/tools/pubspec.md b/src/content/tools/pubspec.md index aa62a8b5ed..fba92b946b 100644 --- a/src/content/tools/pubspec.md +++ b/src/content/tools/pubspec.md @@ -78,7 +78,7 @@ dev_dependencies: [!flutter_test:!] [!sdk: flutter!] # Required for a Flutter project that includes tests - [!flutter_lints: ^4.0.0!] # Contains a set of recommended lints for Flutter code + [!flutter_lints: ^5.0.0!] # Contains a set of recommended lints for Flutter code [!flutter:!]