Skip to content

Commit 6adcc1c

Browse files
bwilkersonCommit Queue
authored andcommitted
Track migration in 5 more packages
Change-Id: I9a7a21c82d3083a13061d6da488b3951b49a1348 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390823 Commit-Queue: Brian Wilkerson <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent 83dc895 commit 6adcc1c

File tree

10 files changed

+185
-0
lines changed

10 files changed

+185
-0
lines changed

pkg/analysis_server_client/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ analyzer:
1010
linter:
1111
rules:
1212
- always_declare_return_types
13+
- analyzer_use_new_elements
1314
- omit_local_variable_types
1415
- prefer_single_quotes
1516
- unawaited_futures
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
example/example.dart
2+
lib/handler/connection_handler.dart
3+
lib/handler/notification_handler.dart
4+
lib/listener/server_listener.dart
5+
lib/protocol.dart
6+
lib/server.dart
7+
lib/src/protocol/protocol_base.dart
8+
lib/src/protocol/protocol_common.dart
9+
lib/src/protocol/protocol_constants.dart
10+
lib/src/protocol/protocol_generated.dart
11+
lib/src/protocol/protocol_internal.dart
12+
lib/src/server_base.dart
13+
test/all.dart
14+
test/live_test.dart
15+
test/server_test.dart
16+
test/verify_sorted_test.dart

pkg/analysis_server_plugin/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ analyzer:
1515
linter:
1616
rules:
1717
- always_use_package_imports
18+
- analyzer_use_new_elements
1819
- avoid_dynamic_calls
1920
- avoid_redundant_argument_values
2021
- avoid_unused_constructor_parameters
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
lib/edit/correction_utils.dart
2+
lib/edit/dart/dart_fix_kind_priority.dart
3+
lib/edit/fix/fix.dart
4+
lib/edit/fix/fix_context.dart
5+
lib/plugin.dart
6+
lib/registry.dart
7+
lib/src/correction/change_workspace.dart
8+
lib/src/correction/dart_change_workspace.dart
9+
lib/src/correction/fix_generators.dart
10+
lib/src/correction/fix_in_file_processor.dart
11+
lib/src/correction/fix_processor.dart
12+
lib/src/registry.dart
13+
lib/src/utilities/selection.dart
14+
test/edit/correction_utils_test.dart
15+
test/edit/test_all.dart
16+
test/single_unit.dart
17+
test/src/lint_rules.dart
18+
test/src/plugin_server_error_test.dart
19+
test/src/plugin_server_test.dart
20+
test/src/plugin_server_test_base.dart
21+
test/src/test_all.dart
22+
test/test_all.dart

pkg/analyzer_cli/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ analyzer:
1313

1414
linter:
1515
rules:
16+
- analyzer_use_new_elements
1617
- always_declare_return_types
1718
- avoid_unused_constructor_parameters
1819
- directives_ordering
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
bin/analyzer.dart
2+
lib/src/ansi.dart
3+
lib/src/batch_mode.dart
4+
lib/src/driver.dart
5+
lib/src/error_formatter.dart
6+
lib/src/error_severity.dart
7+
lib/src/options.dart
8+
lib/src/perf_report.dart
9+
lib/starter.dart
10+
test/all.dart
11+
test/analysis_options_test.dart
12+
test/driver_test.dart
13+
test/embedder_test.dart
14+
test/errors_reported_once_test.dart
15+
test/errors_upgrade_fails_cli_test.dart
16+
test/mocks.dart
17+
test/options_test.dart
18+
test/perf_report_test.dart
19+
test/reporter_test.dart
20+
test/strong_mode_test.dart
21+
test/utils.dart
22+
tool/perf.dart
23+
tool/perf_test.dart

pkg/analyzer_plugin/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ analyzer:
1717
linter:
1818
rules:
1919
- always_declare_return_types
20+
- analyzer_use_new_elements
2021
- flutter_style_todos
2122
- library_annotations
2223
- omit_local_variable_types
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
lib/channel/channel.dart
2+
lib/plugin/assist_mixin.dart
3+
lib/plugin/completion_mixin.dart
4+
lib/plugin/fix_mixin.dart
5+
lib/plugin/folding_mixin.dart
6+
lib/plugin/highlights_mixin.dart
7+
lib/plugin/navigation_mixin.dart
8+
lib/plugin/occurrences_mixin.dart
9+
lib/plugin/outline_mixin.dart
10+
lib/plugin/plugin.dart
11+
lib/protocol/protocol.dart
12+
lib/protocol/protocol_common.dart
13+
lib/protocol/protocol_constants.dart
14+
lib/protocol/protocol_generated.dart
15+
lib/src/channel/isolate_channel.dart
16+
lib/src/driver.dart
17+
lib/src/protocol/protocol_internal.dart
18+
lib/src/utilities/assist/assist.dart
19+
lib/src/utilities/change_builder/change_builder_yaml.dart
20+
lib/src/utilities/charcodes.dart
21+
lib/src/utilities/client_uri_converter.dart
22+
lib/src/utilities/completion/completion_core.dart
23+
lib/src/utilities/directive_sort.dart
24+
lib/src/utilities/documentation.dart
25+
lib/src/utilities/extensions/ast.dart
26+
lib/src/utilities/extensions/resolved_unit_result.dart
27+
lib/src/utilities/extensions/token.dart
28+
lib/src/utilities/fixes/fixes.dart
29+
lib/src/utilities/folding/folding.dart
30+
lib/src/utilities/highlights/highlights.dart
31+
lib/src/utilities/library.dart
32+
lib/src/utilities/null_string_sink.dart
33+
lib/src/utilities/occurrences/occurrences.dart
34+
lib/src/utilities/outline/outline.dart
35+
lib/src/utilities/string_utilities.dart
36+
lib/starter.dart
37+
lib/utilities/assist/assist.dart
38+
lib/utilities/assist/assist_contributor_mixin.dart
39+
lib/utilities/change_builder/change_builder_core.dart
40+
lib/utilities/change_builder/change_builder_yaml.dart
41+
lib/utilities/change_builder/change_workspace.dart
42+
lib/utilities/change_builder/conflicting_edit_exception.dart
43+
lib/utilities/completion/completion_core.dart
44+
lib/utilities/completion/relevance.dart
45+
lib/utilities/fixes/fix_contributor_mixin.dart
46+
lib/utilities/fixes/fixes.dart
47+
lib/utilities/folding/folding.dart
48+
lib/utilities/generator.dart
49+
lib/utilities/highlights/highlights.dart
50+
lib/utilities/navigation/document_links.dart
51+
lib/utilities/occurrences/occurrences.dart
52+
lib/utilities/outline/outline.dart
53+
lib/utilities/pair.dart
54+
lib/utilities/subscriptions/subscription_manager.dart
55+
test/integration/support/integration_test_methods.dart
56+
test/integration/support/integration_tests.dart
57+
test/integration/support/protocol_matchers.dart
58+
test/plugin/assist_mixin_test.dart
59+
test/plugin/completion_mixin_test.dart
60+
test/plugin/fix_mixin_test.dart
61+
test/plugin/folding_mixin_test.dart
62+
test/plugin/highlights_mixin_test.dart
63+
test/plugin/mocks.dart
64+
test/plugin/navigation_mixin_test.dart
65+
test/plugin/occurrences_mixin_test.dart
66+
test/plugin/outline_mixin_test.dart
67+
test/plugin/plugin_test.dart
68+
test/plugin/test_all.dart
69+
test/src/channel/isolate_channel_test.dart
70+
test/src/channel/test_all.dart
71+
test/src/test_all.dart
72+
test/src/utilities/change_builder/change_builder_core_test.dart
73+
test/src/utilities/change_builder/change_builder_yaml_test.dart
74+
test/src/utilities/change_builder/dart/dart_change_builder_mixin.dart
75+
test/src/utilities/change_builder/dart/test_all.dart
76+
test/src/utilities/change_builder/mocks.dart
77+
test/src/utilities/change_builder/test_all.dart
78+
test/src/utilities/client_uri_converter_test.dart
79+
test/src/utilities/completion/optype_test.dart
80+
test/src/utilities/completion/test_all.dart
81+
test/src/utilities/navigation/navigation_test.dart
82+
test/src/utilities/navigation/test_all.dart
83+
test/src/utilities/string_utilities_test.dart
84+
test/src/utilities/test_all.dart
85+
test/src/utilities/visitors/test_all.dart
86+
test/test_all.dart
87+
test/utilities/completion/completion_contributor_util.dart
88+
test/utilities/completion/flutter_util.dart
89+
test/utilities/completion/inherited_reference_contributor_test.dart
90+
test/utilities/completion/test_all.dart
91+
test/utilities/completion/type_member_contributor_test.dart
92+
test/utilities/navigation_test.dart
93+
test/utilities/subscriptions/subscription_manager_test.dart
94+
test/utilities/subscriptions/test_all.dart
95+
test/utilities/test_all.dart
96+
test/verify_tests_test.dart
97+
tool/spec/api.dart
98+
tool/spec/check_all_test.dart
99+
tool/spec/codegen_dart.dart
100+
tool/spec/codegen_dart_protocol.dart
101+
tool/spec/codegen_inttest_methods.dart
102+
tool/spec/codegen_matchers.dart
103+
tool/spec/codegen_protocol_common.dart
104+
tool/spec/codegen_protocol_constants.dart
105+
tool/spec/from_html.dart
106+
tool/spec/generate_all.dart
107+
tool/spec/implied_types.dart
108+
tool/spec/to_html.dart

pkg/analyzer_utilities/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ analyzer:
1010

1111
linter:
1212
rules:
13+
- analyzer_use_new_elements
1314
- avoid_dynamic_calls
1415
- avoid_unused_constructor_parameters
1516
- flutter_style_todos
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
lib/html_dom.dart
2+
lib/html_generator.dart
3+
lib/html_parser.dart
4+
lib/package_root.dart
5+
lib/test/experiments/experiments.dart
6+
lib/test/mock_packages/mock_packages.dart
7+
lib/testing/map_entry_matcher.dart
8+
lib/testing/tree_string_sink.dart
9+
lib/text_formatter.dart
10+
lib/tools.dart
11+
lib/verify_tests.dart

0 commit comments

Comments
 (0)