From 330a2ca2ab37fe2c2bbd53d5772032511cb29d71 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Mon, 25 Mar 2024 14:47:03 -0700 Subject: [PATCH] Update links in analysis_options.yaml (#145706) According to the [readme](https://github.com/dart-lang/linter?tab=readme-ov-file#repository-has-moved) of the linter repository, the source of truth for the linter has moved to the SDK repository. This updates the link to `all.yaml` in our file. While I am in here, I also updated two other links that were outdated. --- analysis_options.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 2414140ca3e..5610f48ad02 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,8 +1,8 @@ # Specify analysis options. # -# For a list of lints, see: https://dart.dev/lints +# For a list of lints, see: https://dart.dev/tools/linter-rules # For guidelines on configuring static analysis, see: -# https://dart.dev/guides/language/analysis-options +# https://dart.dev/tools/analysis # # There are other similar analysis options files in the flutter repos, # which should be kept in sync with this file: @@ -33,7 +33,7 @@ analyzer: linter: rules: # This list is derived from the list of all available lints located at - # https://github.com/dart-lang/linter/blob/main/example/all.yaml + # https://github.com/dart-lang/sdk/blob/main/pkg/linter/example/all.yaml - always_declare_return_types - always_put_control_body_on_new_line # - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219