| 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);
|
|
|