diff --git a/packages/flutter_lints/CHANGELOG.md b/packages/flutter_lints/CHANGELOG.md index 065b9d3d986b..0d2507a2677e 100644 --- a/packages/flutter_lints/CHANGELOG.md +++ b/packages/flutter_lints/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.1 + +* Replaces `flutter pub add --dev` with `dev:` in README.md. + ## 3.0.0 * Updated `package:lints` dependency to version 3.0.0, with the following changes: diff --git a/packages/flutter_lints/README.md b/packages/flutter_lints/README.md index f69eb505f905..941fb47e7452 100644 --- a/packages/flutter_lints/README.md +++ b/packages/flutter_lints/README.md @@ -19,7 +19,7 @@ package. Entities created before that version can use these lints by following these instructions: 1. Depend on this package as a **dev_dependency** by running - `flutter pub add --dev flutter_lints`. + `flutter pub add dev:flutter_lints`. 2. Create an `analysis_options.yaml` file at the root of the package (alongside the `pubspec.yaml` file) and `include: package:flutter_lints/flutter.yaml` from it. diff --git a/packages/flutter_lints/pubspec.yaml b/packages/flutter_lints/pubspec.yaml index 576a3d71194d..d081e4b736f8 100644 --- a/packages/flutter_lints/pubspec.yaml +++ b/packages/flutter_lints/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_lints description: Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices. repository: https://github.com/flutter/packages/tree/main/packages/flutter_lints issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_lints%22 -version: 3.0.0 +version: 3.0.1 environment: sdk: ^3.0.0