mirror of
https://github.com/flutter/flutter.git
synced 2026-01-20 20:55:29 +08:00
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.
This commit is contained in:
parent
31f4f2b6c0
commit
330a2ca2ab
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user