"master->main" migration

Change-Id: I773e0a60a782f9e6678cea22e2a7d8fae48cffa3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212869
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2021-09-09 18:14:36 +00:00 committed by commit-bot@chromium.org
parent d69828ee2f
commit dd35db6192
10 changed files with 14 additions and 14 deletions

View file

@ -21,5 +21,5 @@ and [Language Server Protocol][lsp_spec] support is documented in
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: https://github.com/dart-lang/sdk/issues
[api]: https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/doc/api.html
[api]: https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/api.html
[lsp_spec]: https://microsoft.github.io/language-server-protocol/

View file

@ -319,7 +319,7 @@ list of fields with `final`.
We're now ready to create the actual fix. To do that we're going to use the
`ChangeBuilder` passed to the `compute` method. In the example below we'll
introduce a couple of the methods on `ChangeBuilder`, but for more information
you can read [Creating `SourceChange`s](https://github.com/dart-lang/sdk/blob/master/pkg/analyzer_plugin/doc/tutorial/creating_edits.md).
you can read [Creating `SourceChange`s](https://github.com/dart-lang/sdk/blob/main/pkg/analyzer_plugin/doc/tutorial/creating_edits.md).
Fields can be declared with either `final`, `const`, `var`, or a type
annotation, and the change that needs to be made depends on how the field was

View file

@ -667,7 +667,7 @@ abstract class DiagnosticPage extends Page {
<a href="/status" ${isNavPage ? ' class="active"' : ''}>Diagnostics</a>
<a href="/feedback" ${isCurrentPage('/feedback') ? ' class="active"' : ''}>Feedback</a>
<a href="https://dart.dev/tools/dart-analyze" target="_blank">Docs</a>
<a href="https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/doc/api.html" target="_blank">Spec</a>
<a href="https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/api.html" target="_blank">Spec</a>
</nav>
</div>
</header>

View file

@ -96,13 +96,13 @@ our clients, but some pain is inevitable.
See the [LICENSE] file.
[serverapi]: https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/doc/api.html
[dartanalyzer]: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer_cli#dartanalyzer
[serverapi]: https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/api.html
[dartanalyzer]: https://github.com/dart-lang/sdk/tree/main/pkg/analyzer_cli#dartanalyzer
[list]: https://groups.google.com/a/dartlang.org/forum/#!forum/analyzer-discuss
[lintrules]: https://dart-lang.github.io/linter/lints/
[glob]: https://pub.dev/packages/glob
[LICENSE]: https://github.com/dart-lang/sdk/blob/master/pkg/analyzer/LICENSE
[LICENSE]: https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/LICENSE
[dartfmt]: https://github.com/dart-lang/dart_style
[dartdoc]: https://github.com/dart-lang/dartdoc
[analysis_sever]: https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server
[analysis_sever]: https://github.com/dart-lang/sdk/tree/main/pkg/analysis_server
[custom_analysis]: https://dart.dev/guides/language/analysis-options

View file

@ -1,7 +1,7 @@
name: analyzer
version: 2.2.0
description: This package provides a library that performs static analysis of Dart code.
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer
homepage: https://github.com/dart-lang/sdk/tree/main/pkg/analyzer
environment:
sdk: '>=2.12.0 <3.0.0'

View file

@ -36,6 +36,6 @@ yourself with the [design principles][design] that guide this tool's UX.
Please file feature requests and bugs in the Dart SDK [issue tracker][tracker]
with label `area-dart-cli`.
[contributing]: https://github.com/dart-lang/sdk/blob/master/CONTRIBUTING.md
[design] https://github.com/dart-lang/sdk/blob/master/pkg/dartdev/doc/design.md
[contributing]: https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md
[design] https://github.com/dart-lang/sdk/blob/main/pkg/dartdev/doc/design.md
[tracker]: https://github.com/dart-lang/sdk/labels/area-dart-cli

View file

@ -22,7 +22,7 @@ It communicates over stdin and stdout and provides services like code completion
For more information about the server's capabilities and configuration, see:
https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server''';
https://github.com/dart-lang/sdk/tree/main/pkg/analysis_server''';
LanguageServerCommand({bool verbose = false})
: super(commandName, commandDescription, verbose, hidden: !verbose);

View file

@ -54,7 +54,7 @@ void main() {
// This test verifies that an error isn't thrown when a valid experiment
// is passed.
// Experiments are lists here:
// https://github.com/dart-lang/sdk/blob/master/tools/experimental_features.yaml
// https://github.com/dart-lang/sdk/blob/main/tools/experimental_features.yaml
test(
'dart --enable-experiment=variance '
'run smoke.dart', () async {

View file

@ -30,5 +30,5 @@ Questions and discussions are welcome at the
See the [LICENSE][license] file.
[issues]: https://github.com/dart-lang/sdk/issues
[license]: https://github.com/dart-lang/sdk/blob/master/pkg/analyzer/LICENSE
[license]: https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/LICENSE
[list]: https://groups.google.com/a/dartlang.org/forum/#!forum/analyzer-discuss

View file

@ -1,7 +1,7 @@
name: meta
# Note, because version `2.0.0` was mistakenly released, the next major version must be `3.x.y`.
version: 1.7.1-dev
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/meta
homepage: https://github.com/dart-lang/sdk/tree/main/pkg/meta
description: >-
Annotations that developers can use to express the intentions that otherwise
can't be deduced by statically analyzing the source code. These annotations