Skip to content

Commit ef94221

Browse files
authored
enable dangling_library_doc_comments (dart-archive/linter#3980)
1 parent cfa99bd commit ef94221

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ linter:
3939
# - combinators_ordering
4040
# - close_sinks # https://github.com/dart-lang/linter/issues/268
4141
- comment_references
42+
- dangling_library_doc_comments
4243
- directives_ordering
4344
- discarded_futures
4445
- join_return_with_assignment

lib/src/ast.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
/// Common AST helpers.
6+
library;
7+
68
import 'package:analyzer/dart/ast/ast.dart';
79
import 'package:analyzer/dart/ast/syntactic_entity.dart';
810
import 'package:analyzer/dart/ast/token.dart';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository: https://github.com/dart-lang/linter
99
documentation: https://dart-lang.github.io/linter/lints
1010

1111
environment:
12-
sdk: '>=2.17.0 <3.0.0'
12+
sdk: '>=2.19.0 <3.0.0'
1313

1414
dependencies:
1515
analyzer: ^5.4.0

0 commit comments

Comments
 (0)