Index: pkg/analysis_server/lib/src/context_manager.dart |
diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart |
index 41af5d9316c7eaa5667ced58e2c08671e22df760..77f22cbb9ff2ce566e66883601f298b79e80ff70 100644 |
--- a/pkg/analysis_server/lib/src/context_manager.dart |
+++ b/pkg/analysis_server/lib/src/context_manager.dart |
@@ -30,13 +30,13 @@ import 'package:analyzer/src/generated/java_io.dart'; |
import 'package:analyzer/src/generated/sdk.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
import 'package:analyzer/src/generated/source_io.dart'; |
+import 'package:analyzer/src/lint/config.dart'; |
+import 'package:analyzer/src/lint/linter.dart'; |
+import 'package:analyzer/src/lint/registry.dart'; |
import 'package:analyzer/src/task/options.dart'; |
import 'package:analyzer/src/util/absolute_path.dart'; |
import 'package:analyzer/src/util/glob.dart'; |
import 'package:analyzer/src/util/yaml.dart'; |
-import 'package:linter/src/config.dart'; |
-import 'package:linter/src/linter.dart'; |
-import 'package:linter/src/rules.dart'; |
import 'package:package_config/packages.dart'; |
import 'package:package_config/packages_file.dart' as pkgfile show parse; |
import 'package:package_config/src/packages_impl.dart' show MapPackages; |
@@ -709,7 +709,7 @@ class ContextManagerImpl implements ContextManager { |
var lintOptions = options['linter']; |
if (lintOptions != null) { |
LintConfig config = new LintConfig.parseMap(lintOptions); |
- Iterable<LintRule> lintRules = ruleRegistry.enabled(config); |
+ Iterable<LintRule> lintRules = Registry.ruleRegistry.enabled(config); |
if (lintRules.isNotEmpty) { |
analysisOptions.lint = true; |
analysisOptions.lintRules = lintRules.toList(); |