Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: lib/src/linter.dart

Issue 1415723007: SDK mocking for improved test throughput. (Closed) Base URL: https://github.com/dart-lang/linter.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/analysis.dart ('k') | lib/src/sdk.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/linter.dart
diff --git a/lib/src/linter.dart b/lib/src/linter.dart
index fd4cc1b4df415415fbf7188b7236f90fb4a932b1..68b40f767840fd2afbb570b4ce8d4fcb2f354b0b 100644
--- a/lib/src/linter.dart
+++ b/lib/src/linter.dart
@@ -61,9 +61,6 @@ class DartLinter implements AnalysisErrorListener {
/// Creates a new linter.
DartLinter(this.options, {this.reporter: const PrintingReporter()});
- factory DartLinter.forRules(Iterable<LintRule> ruleSet) =>
- new DartLinter(new LinterOptions(ruleSet));
-
Iterable<AnalysisErrorInfo> lintFiles(List<File> files) {
List<AnalysisErrorInfo> errors = [];
var analysisDriver = new AnalysisDriver(options);
« no previous file with comments | « lib/src/analysis.dart ('k') | lib/src/sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698