Skip to content

Commit

Permalink
update the sdk lower bound to the current stable
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Dec 11, 2024
1 parent e1d4794 commit 8b7f811
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ jobs:
publish:
if: ${{ github.repository_owner == 'dart-lang' }}
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
with:
sdk: beta
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -10,7 +10,7 @@ topics:
- lints

environment:
sdk: ^3.6.0-0
sdk: ^3.6.0

# NOTE: Code is not allowed in this package - do not add dependencies.
# dependencies:
Expand Down
22 changes: 21 additions & 1 deletion tool/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@
"description": "Avoid using `forEach` with a function literal.",
"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 `==`.",
Expand Down Expand Up @@ -584,6 +589,11 @@
"description": "Omit obvious type annotations for local variables.",
"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.",
Expand Down Expand Up @@ -889,6 +899,11 @@
"description": "Specify non-obvious type annotations for local variables.",
"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.",
Expand Down Expand Up @@ -1074,6 +1089,11 @@
"description": "Avoid unsafe HTML APIs.",
"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.",
Expand All @@ -1082,7 +1102,7 @@
{
"name": "use_colored_box",
"description": "Use `ColoredBox`.",
"fixStatus": "needsFix"
"fixStatus": "hasFix"
},
{
"name": "use_decorated_box",
Expand Down

0 comments on commit 8b7f811

Please sign in to comment.