anchor.diff:    new OptionsSample(rules).generate(outDir);
   }
   
  +String getBadges(String rule) => isPedantic(rule)
  +    ? '<a href="https://github.com/dart-lang/pedantic/#enabled-lints"><img alt="pedantic" src="style-pedantic.svg"></a>'
  +    : '';
  +
  +bool isPedantic(String rule) => pedanticRules.contains(rule);
  +
   void printUsage(ArgParser parser, [String error]) {
     var message = 'Generates lint docs.';
     if (error != null) {
  
positive.code:     (r.maturity == Maturity.stable ? '' : ' (${r.maturity.name})');
  
  String toDescription(LintRule r) =>
      '<strong><a href = "${r.name}.html">${qualify(r)}</a></strong><br/>${markdownToHtml(r.description)}';
  
  class Badger {
    Iterable<LintRule> rules;
  
negative.code: ''';
  
  const ruleLeadMatter = 'Rules are organized into familiar rule groups.';
  
  // TODO(pq): generate dynamically.
  List<String> pedanticRules =
  // 1.4
      [
    'avoid_empty_else',
    'avoid_relative_lib_imports',
    'avoid_return_types_on_setters',
    'avoid_types_as_parameter_names',
    'no_duplicate_case_values',
    'prefer_contains',
    'prefer_equal_for_default_values',
    'prefer_is_not_empty',
    'recursive_getters',
    'unrelated_type_equality_checks',
    'use_rethrow_when_possible',
    'unawaited_futures',
    'valid_regexps'
  ];
  
  /// Sorted list of contributed lint rules.
  final List<LintRule> rules =
  