add dangling_library_doc_comments, remove prefer_void_to_null (dart-lang/lints#157)
diff --git a/pkgs/lints/CHANGELOG.md b/pkgs/lints/CHANGELOG.md
index f0388e4..254e221 100644
--- a/pkgs/lints/CHANGELOG.md
+++ b/pkgs/lints/CHANGELOG.md
@@ -1,6 +1,8 @@
## 3.0.0-beta.2
+- Add `dangling_library_doc_comments` to core.
- Remove `no_wildcard_variable_uses` from core.
+- Remove `prefer_void_to_null` from recommended.
## 3.0.0-beta
diff --git a/pkgs/lints/lib/core.yaml b/pkgs/lints/lib/core.yaml
index 9f0e6e4..e986edc 100644
--- a/pkgs/lints/lib/core.yaml
+++ b/pkgs/lints/lib/core.yaml
@@ -15,6 +15,7 @@
- camel_case_types
- collection_methods_unrelated_type
- curly_braces_in_flow_control_structures
+ - dangling_library_doc_comments
- depend_on_referenced_packages
- empty_catches
- file_names
diff --git a/pkgs/lints/lib/recommended.yaml b/pkgs/lints/lib/recommended.yaml
index 1446fa9..d9cd916 100644
--- a/pkgs/lints/lib/recommended.yaml
+++ b/pkgs/lints/lib/recommended.yaml
@@ -47,7 +47,6 @@
- prefer_is_not_operator
- prefer_null_aware_operators
- prefer_spread_collections
- - prefer_void_to_null
- recursive_getters
- slash_for_doc_comments
- type_init_formals
diff --git a/pkgs/lints/rules.md b/pkgs/lints/rules.md
index 44a384f..70dee71 100644
--- a/pkgs/lints/rules.md
+++ b/pkgs/lints/rules.md
@@ -14,6 +14,7 @@
| [`camel_case_types`](https://dart.dev/lints/camel_case_types) | Name types using UpperCamelCase. | |
| [`collection_methods_unrelated_type`](https://dart.dev/lints/collection_methods_unrelated_type) | Invocation of various collection methods with arguments of unrelated types. | |
| [`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. | ✅ |
+| [`dangling_library_doc_comments`](https://dart.dev/lints/dangling_library_doc_comments) | Attach library doc comments to library directives. | ✅ |
| [`depend_on_referenced_packages`](https://dart.dev/lints/depend_on_referenced_packages) | Depend on referenced packages. | |
| [`empty_catches`](https://dart.dev/lints/empty_catches) | Avoid empty catch blocks. | ✅ |
| [`file_names`](https://dart.dev/lints/file_names) | Name source files using `lowercase_with_underscores`. | |
@@ -79,7 +80,6 @@
| [`prefer_is_not_operator`](https://dart.dev/lints/prefer_is_not_operator) | Prefer is! operator. | ✅ |
| [`prefer_null_aware_operators`](https://dart.dev/lints/prefer_null_aware_operators) | Prefer using null aware operators. | ✅ |
| [`prefer_spread_collections`](https://dart.dev/lints/prefer_spread_collections) | Use spread collections when possible. | ✅ |
-| [`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. | ✅ |
| [`recursive_getters`](https://dart.dev/lints/recursive_getters) | Property getter recursively returns itself. | |
| [`slash_for_doc_comments`](https://dart.dev/lints/slash_for_doc_comments) | Prefer using /// for doc comments. | ✅ |
| [`type_init_formals`](https://dart.dev/lints/type_init_formals) | Don't type annotate initializing formals. | ✅ |