Chromium Code Reviews| 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); |