anchor.diff:  import 'package:analyzer/source/error_processor.dart';
   import 'package:analyzer/src/generated/engine.dart';
   import 'package:analyzer/src/generated/source.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/task/general.dart';
   import 'package:analyzer/task/model.dart';
  -import 'package:linter/src/rules.dart';
   import 'package:test/test.dart';
   import 'package:test_reflective_loader/test_reflective_loader.dart';
   import 'package:yaml/yaml.dart';
  
positive.code:   }
  
    test_linter_supported_rules() {
      registerLintRules();
      validate(
          '''
  linter:
    rules:
      - camel_case_types
      ''',
          []);
    }
  
negative.code:         unorderedEquals(expected));
    }
  }
  
  class TestRule extends LintRule {
    TestRule() : super(name: 'fantastic_test_rule');
  }
  