Skip to content

Commit ae3de54

Browse files
srawlinsCommit Queue
authored and
Commit Queue
committed
Tidy up LintCode docs before making public API
Work towards #50986 Cq-Include-Trybots: luci.dart.try:flutter-analyze-try,analyzer-win-release-try,pkg-win-release-try Change-Id: I60d378da27570f6b76a554685802d3b888edee0d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372182 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Sam Rawlins <[email protected]>
1 parent 705c745 commit ae3de54

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pkg/analyzer/lib/src/dart/error/lint_codes.dart

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
/// @docImport 'package:analyzer/src/error/codes.g.dart';
6+
library;
7+
58
import 'package:analyzer/error/error.dart';
69

710
/// Defines style and best practice recommendations.
811
///
9-
/// Unlike [HintCode]s, which are akin to traditional static warnings from a
10-
/// compiler, lint recommendations focus on matters of style and practices that
11-
/// might aggregated to define a project's style guide.
12+
/// Unlike [WarningCode]s, which are akin to traditional static warnings from a
13+
/// compiler, lint recommendations focus on matters of avoiding errors,
14+
/// unintended code, maintainability, style and other best practices that might
15+
/// be aggregated to define a project's style guide.
1216
class LintCode extends ErrorCode {
1317
const LintCode(
1418
String name,

0 commit comments

Comments
 (0)