Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 624a09d

Browse files
authored
add dangling_library_doc_comments, remove prefer_void_to_null (#157)
1 parent 296efaf commit 624a09d

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## 3.0.0-beta.2
22

3+
- Add `dangling_library_doc_comments` to core.
34
- Remove `no_wildcard_variable_uses` from core.
5+
- Remove `prefer_void_to_null` from recommended.
46

57
## 3.0.0-beta
68

lib/core.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ linter:
1515
- camel_case_types
1616
- collection_methods_unrelated_type
1717
- curly_braces_in_flow_control_structures
18+
- dangling_library_doc_comments
1819
- depend_on_referenced_packages
1920
- empty_catches
2021
- file_names

lib/recommended.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ linter:
4747
- prefer_is_not_operator
4848
- prefer_null_aware_operators
4949
- prefer_spread_collections
50-
- prefer_void_to_null
5150
- recursive_getters
5251
- slash_for_doc_comments
5352
- type_init_formals

rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
| [`camel_case_types`](https://dart.dev/lints/camel_case_types) | Name types using UpperCamelCase. | |
1515
| [`collection_methods_unrelated_type`](https://dart.dev/lints/collection_methods_unrelated_type) | Invocation of various collection methods with arguments of unrelated types. | |
1616
| [`curly_braces_in_flow_control_structures`](https://dart.dev/lints/curly_braces_in_flow_control_structures) | DO use curly braces for all flow control structures. ||
17+
| [`dangling_library_doc_comments`](https://dart.dev/lints/dangling_library_doc_comments) | Attach library doc comments to library directives. ||
1718
| [`depend_on_referenced_packages`](https://dart.dev/lints/depend_on_referenced_packages) | Depend on referenced packages. | |
1819
| [`empty_catches`](https://dart.dev/lints/empty_catches) | Avoid empty catch blocks. ||
1920
| [`file_names`](https://dart.dev/lints/file_names) | Name source files using `lowercase_with_underscores`. | |
@@ -79,7 +80,6 @@
7980
| [`prefer_is_not_operator`](https://dart.dev/lints/prefer_is_not_operator) | Prefer is! operator. ||
8081
| [`prefer_null_aware_operators`](https://dart.dev/lints/prefer_null_aware_operators) | Prefer using null aware operators. ||
8182
| [`prefer_spread_collections`](https://dart.dev/lints/prefer_spread_collections) | Use spread collections when possible. ||
82-
| [`prefer_void_to_null`](https://dart.dev/lints/prefer_void_to_null) | Don't use the Null type, unless you are positive that you don't want void. ||
8383
| [`recursive_getters`](https://dart.dev/lints/recursive_getters) | Property getter recursively returns itself. | |
8484
| [`slash_for_doc_comments`](https://dart.dev/lints/slash_for_doc_comments) | Prefer using /// for doc comments. ||
8585
| [`type_init_formals`](https://dart.dev/lints/type_init_formals) | Don't type annotate initializing formals. ||

0 commit comments

Comments
 (0)