diff --git a/pkgs/lints/CHANGELOG.md b/pkgs/lints/CHANGELOG.md index dbd4504b..3791298e 100644 --- a/pkgs/lints/CHANGELOG.md +++ b/pkgs/lints/CHANGELOG.md @@ -1,5 +1,7 @@ ## 6.0.0-wip +- `core`: + - added [strict_top_level_inference] (https://github.com/dart-lang/core/issues/836) - `recommended`: - added [unnecessary_underscores] (https://github.com/dart-lang/core/issues/856) - Require Dart 3.7. diff --git a/pkgs/lints/lib/core.yaml b/pkgs/lints/lib/core.yaml index ca8a8ca1..f896172d 100644 --- a/pkgs/lints/lib/core.yaml +++ b/pkgs/lints/lib/core.yaml @@ -33,6 +33,7 @@ linter: - prefer_typing_uninitialized_variables - provide_deprecation_message - secure_pubspec_urls + - strict_top_level_inference - type_literal_in_constant_pattern - unintended_html_in_doc_comment - unnecessary_overrides diff --git a/pkgs/lints/rules.md b/pkgs/lints/rules.md index d073af84..076f4ce4 100644 --- a/pkgs/lints/rules.md +++ b/pkgs/lints/rules.md @@ -32,6 +32,7 @@ | [`prefer_typing_uninitialized_variables`](https://dart.dev/lints/prefer_typing_uninitialized_variables) | Prefer typing uninitialized variables and fields. | ✅ | | [`provide_deprecation_message`](https://dart.dev/lints/provide_deprecation_message) | Provide a deprecation message, via `@Deprecated("message")`. | | | [`secure_pubspec_urls`](https://dart.dev/lints/secure_pubspec_urls) | Use secure urls in `pubspec.yaml`. | | +| [`strict_top_level_inference`](https://dart.dev/lints/strict_top_level_inference) | Specify type annotations. | ✅ | | [`type_literal_in_constant_pattern`](https://dart.dev/lints/type_literal_in_constant_pattern) | Don't use constant patterns with type literals. | ✅ | | [`unintended_html_in_doc_comment`](https://dart.dev/lints/unintended_html_in_doc_comment) | Use of angle brackets in a doc comment is treated as HTML by Markdown. | | | [`unnecessary_overrides`](https://dart.dev/lints/unnecessary_overrides) | Don't override a method to do a super method invocation with the same parameters. | ✅ |