File tree 1 file changed +7
-3
lines changed
pkg/analyzer/lib/src/dart/error 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
+ /// @docImport 'package:analyzer/src/error/codes.g.dart';
6
+ library ;
7
+
5
8
import 'package:analyzer/error/error.dart' ;
6
9
7
10
/// Defines style and best practice recommendations.
8
11
///
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.
12
16
class LintCode extends ErrorCode {
13
17
const LintCode (
14
18
String name,
You can’t perform that action at this time.
0 commit comments