Skip to content

Commit

Permalink
import _you_dart_internal,remove implementation_imports
Browse files Browse the repository at this point in the history
  • Loading branch information
chen56 committed May 15, 2024
1 parent bfcd425 commit cd29ae0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion notes/flutter_web/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ linter:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
- always_use_package_imports
- implementation_imports
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options

Expand Down
1 change: 0 additions & 1 deletion packages/you_flutter/lib/src/note/contents/params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'package:dart_style/dart_style.dart' show DartFormatter;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:you_flutter/src/note/contents/params_editors.dart';
// ignore: implementation_imports, FIXME internal import /src of the same project.
import 'package:_you_dart_internal/core.dart';

final defaultEmitter = code.DartEmitter(allocator: code.Allocator(), useNullSafetySyntax: true);
Expand Down
3 changes: 1 addition & 2 deletions packages/you_flutter/lib/src/note/contents/source_code.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:_you_dart_internal/core.dart';
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
import 'package:analyzer/dart/analysis/results.dart';
import 'package:analyzer/dart/analysis/session.dart';
Expand All @@ -10,8 +11,6 @@ import 'package:analyzer/src/test_utilities/mock_sdk.dart';
import 'package:meta/meta.dart';
import 'package:path/path.dart' as path_;
import 'package:you_flutter/src/utils_core.dart';
// ignore: implementation_imports, internal import /src of the same project
import 'package:_you_dart_internal/core.dart';

typedef _AddCell = ({Block belongTo, MethodInvocation invocation});

Expand Down

0 comments on commit cd29ae0

Please sign in to comment.