Skip to content

Commit

Permalink
Update lint package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Sep 30, 2024
1 parent d7787d0 commit 2bfa380
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/example_utils/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ environment:
sdk: ^3.5.0

dependencies:
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0
10 changes: 6 additions & 4 deletions src/content/testing/integration-tests/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand All @@ -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!]
# ...
Expand Down
2 changes: 1 addition & 1 deletion src/content/tools/pubspec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:!]

Expand Down

0 comments on commit 2bfa380

Please sign in to comment.