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

Unified Diff: pkg/analyzer/lib/plugin/linter.dart

Issue 1134823002: Context fix for linting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 months 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
Index: pkg/analyzer/lib/plugin/linter.dart
===================================================================
--- pkg/analyzer/lib/plugin/linter.dart (revision 0)
+++ pkg/analyzer/lib/plugin/linter.dart (revision 0)
@@ -0,0 +1,17 @@
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+/// Support for client code that extends the analysis engine by adding new
+/// lint rules.
+library analyzer.plugin.linter;
+
+import 'package:analyzer/src/plugin/linter_plugin.dart';
+import 'package:linter/src/linter.dart';
+import 'package:plugin/plugin.dart';
+
+/// The identifier of the extension point that allows plugins to register new
+/// analysis tasks with the analysis engine. The object used as an extension must
kevmoo 2015/05/08 22:30:00 long line
pquitslund 2015/05/08 22:39:19 Fixed.
+/// implement [LintRule].
+final String LINT_RULE_EXTENSION_POINT_ID = Plugin.join(
+ LinterPlugin.UNIQUE_IDENTIFIER, LinterPlugin.LINT_RULE_EXTENSION_POINT);

Powered by Google App Engine
This is Rietveld 408576698