update the sdk lower bound to the current stable (#220)
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 005c3ab..f416320 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml
@@ -12,5 +12,3 @@ publish: if: ${{ github.repository_owner == 'dart-lang' }} uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main - with: - sdk: beta
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3012455..be12b32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,8 +1,12 @@ +## 5.1.1 + +- Updated the SDK lower bound to 3.6. + ## 5.1.0 - `core`: - added [unintended_html_in_doc_comment] (https://github.com/dart-lang/lints/issues/192) -- Updated the SDK lower-bound to 3.6. +- Updated the SDK lower bound to 3.6 (dev). [unintended_html_in_doc_comment]: https://dart.dev/lints/unintended_html_in_doc_comment
diff --git a/pubspec.yaml b/pubspec.yaml index 3a0b6df..e157af3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,5 +1,5 @@ name: lints -version: 5.1.0 +version: 5.1.1 description: > Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. @@ -10,7 +10,7 @@ - lints environment: - sdk: ^3.6.0-0 + sdk: ^3.6.0 # NOTE: Code is not allowed in this package - do not add dependencies. # dependencies:
diff --git a/tool/rules.json b/tool/rules.json index d853c15..5dff4a9 100644 --- a/tool/rules.json +++ b/tool/rules.json
@@ -110,6 +110,11 @@ "fixStatus": "hasFix" }, { + "name": "avoid_futureor_void", + "description": "Avoid using 'FutureOr<void>' as the type of a result.", + "fixStatus": "noFix" + }, + { "name": "avoid_implementing_value_types", "description": "Don't implement classes that override `==`.", "fixStatus": "noFix" @@ -585,6 +590,11 @@ "fixStatus": "hasFix" }, { + "name": "omit_obvious_property_types", + "description": "Omit obvious type annotations for top-level and static variables.", + "fixStatus": "hasFix" + }, + { "name": "one_member_abstracts", "description": "Avoid defining a one-member abstract class when a simple function will do.", "fixStatus": "noFix" @@ -890,6 +900,11 @@ "fixStatus": "hasFix" }, { + "name": "specify_nonobvious_property_types", + "description": "Specify non-obvious type annotations for top-level and static variables.", + "fixStatus": "hasFix" + }, + { "name": "super_goes_last", "description": "Place the `super` call last in a constructor initialization list.", "fixStatus": "noFix" @@ -1075,6 +1090,11 @@ "fixStatus": "noFix" }, { + "name": "unsafe_variance", + "description": "Unsafe type: Has a type variable in a non-covariant position.", + "fixStatus": "noFix" + }, + { "name": "use_build_context_synchronously", "description": "Do not use `BuildContext` across asynchronous gaps.", "fixStatus": "noFix" @@ -1082,7 +1102,7 @@ { "name": "use_colored_box", "description": "Use `ColoredBox`.", - "fixStatus": "needsFix" + "fixStatus": "hasFix" }, { "name": "use_decorated_box",