anchor.diff:  ''';
   
   class PubPackageNames extends LintRule {
  -  // TODO(brianwilkerson) Uncomment the following when `reportPubLint` supports
  -  //  message arguments.
  -  // static const LintCode code = LintCode('package_names',
  -  //     "The package name '{0}' isn't a snake_case identifier.",
  -  //     correctionMessage:
  -  //     'Try changing the name to follow the snake_case style.');
  -  //
  -  // @override
  -  // LintCode get lintCode => code;
  +  static const LintCode code = LintCode(
  +      'package_names', "The package name '{0}' isn't a snake_case identifier.",
  +      correctionMessage:
  +          'Try changing the name to follow the snake_case style.');
   
     PubPackageNames()
         : super(
  
positive.code:             description: _desc,
              details: _details,
              group: Group.pub);
  
    @override
    PubspecVisitor getPubspecVisitor() => Visitor(this);
  
negative.code:   void visitPackageName(PSEntry name) {
      var packageName = name.value.text;
      if (packageName != null && !isValidPackageName(packageName)) {
        rule.reportPubLint(name.value, arguments: [packageName]);
      }
    }
  }
  