Skip to content

Commit 06d2071

Browse files
srawlinsCommit Queue
authored andcommitted
linter: Remove an export before it becomes cross-package
Work towards #55660 Change-Id: I5ffe612695be725e0af0497f9b2917da3d52ec7a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428420 Auto-Submit: Samuel Rawlins <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]>
1 parent 9f36d5b commit 06d2071

10 files changed

+9
-1
lines changed

pkg/linter/test/rule_test_support.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import 'package:linter/src/rules.dart';
3030
import 'package:meta/meta.dart';
3131
import 'package:test/test.dart';
3232

33-
export 'package:analyzer/src/dart/error/syntactic_errors.dart';
3433
export 'package:analyzer/src/error/codes.dart';
3534
export 'package:linter/src/lint_names.dart';
3635

pkg/linter/test/rules/avoid_empty_else_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

pkg/linter/test/rules/avoid_function_literals_in_foreach_calls_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

pkg/linter/test/rules/avoid_shadowing_type_parameters_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:analyzer/error/error.dart';
6+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
67
import 'package:test_reflective_loader/test_reflective_loader.dart';
78

89
import '../rule_test_support.dart';

pkg/linter/test/rules/implicit_reopen_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

pkg/linter/test/rules/no_duplicate_case_values_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

pkg/linter/test/rules/non_constant_identifier_names_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:analyzer/error/error.dart';
6+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
67
import 'package:test_reflective_loader/test_reflective_loader.dart';
78

89
import '../rule_test_support.dart';

pkg/linter/test/rules/prefer_generic_function_type_aliases_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

pkg/linter/test/rules/unnecessary_string_escapes_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

pkg/linter/test/rules/use_string_in_part_of_directives_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
56
import 'package:test_reflective_loader/test_reflective_loader.dart';
67

78
import '../rule_test_support.dart';

0 commit comments

Comments
 (0)