From 5d1aa2c200c69e5862b90d41cc5623462b0dfb17 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Wed, 28 Jun 2023 11:54:37 -0500 Subject: [PATCH] [various] Update links to the old linter site to point to dart.dev (#4333) Contributes to https://github.com/dart-lang/linter/issues/4460 and https://github.com/dart-lang/site-www/issues/4499 --- packages/flutter_lints/CHANGELOG.md | 3 ++- packages/flutter_lints/README.md | 3 +-- packages/flutter_lints/example/analysis_options.yaml | 3 +-- packages/flutter_lints/pubspec.yaml | 2 +- packages/go_router/CHANGELOG.md | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/flutter_lints/CHANGELOG.md b/packages/flutter_lints/CHANGELOG.md index 4af34c1727ff..ee2b0696d596 100644 --- a/packages/flutter_lints/CHANGELOG.md +++ b/packages/flutter_lints/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 2.0.2 +* Update links to the old linter site in the README and example to point to dart.dev. * Updates minimum supported SDK version to Flutter 3.3/Dart 2.18. ## 2.0.1 diff --git a/packages/flutter_lints/README.md b/packages/flutter_lints/README.md index 8c4b2037d633..f69eb505f905 100644 --- a/packages/flutter_lints/README.md +++ b/packages/flutter_lints/README.md @@ -42,8 +42,7 @@ linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` # included above or to enable additional rules. A list of all available lints - # and their documentation is published at - # https://dart-lang.github.io/linter/lints/index.html. + # and their documentation is published at https://dart.dev/lints. # # Instead of disabling a lint rule for the entire project in the # section below, it can also be suppressed for a single line of code diff --git a/packages/flutter_lints/example/analysis_options.yaml b/packages/flutter_lints/example/analysis_options.yaml index 61b6c4de17c9..0d2902135cae 100644 --- a/packages/flutter_lints/example/analysis_options.yaml +++ b/packages/flutter_lints/example/analysis_options.yaml @@ -13,8 +13,7 @@ linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` # included above or to enable additional rules. A list of all available lints - # and their documentation is published at - # https://dart-lang.github.io/linter/lints/index.html. + # and their documentation is published at https://dart.dev/lints. # # Instead of disabling a lint rule for the entire project in the # section below, it can also be suppressed for a single line of code diff --git a/packages/flutter_lints/pubspec.yaml b/packages/flutter_lints/pubspec.yaml index 0f7505d6f0dd..99061b7f58ae 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: 2.0.1 +version: 2.0.2 environment: sdk: ">=2.18.0 <4.0.0" diff --git a/packages/go_router/CHANGELOG.md b/packages/go_router/CHANGELOG.md index c41a7d2fb3bb..bdde3c261867 100644 --- a/packages/go_router/CHANGELOG.md +++ b/packages/go_router/CHANGELOG.md @@ -166,7 +166,7 @@ ## 6.0.5 -- Fixes [unnecessary_null_comparison](https://dart-lang.github.io/linter/lints/unnecessary_null_checks.html) lint warnings. +- Fixes [unnecessary_null_comparison](https://dart.dev/lints/unnecessary_null_checks) lint warnings. ## 6.0.4 @@ -664,7 +664,7 @@ - enable case-insensitive path matching while still preserving path and query parameter cases - change a lifetime of habit to sort constructors first as per - [sort_constructors_first](https://dart-lang.github.io/linter/lints/sort_constructors_first.html). + [sort_constructors_first](https://dart.dev/lints/sort_constructors_first). Thanks for the PR, [Abhishek01039](https://github.com/Abhishek01039)! - set the initial transition example route to `/none` to make pushing the 'fade transition' button on the first run through more fun