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

Commit df1f635

Browse files
authored
update the sdk lower bound to the current stable (#220)
1 parent e1d4794 commit df1f635

File tree

4 files changed

+28
-6
lines changed

4 files changed

+28
-6
lines changed

.github/workflows/publish.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ jobs:
1212
publish:
1313
if: ${{ github.repository_owner == 'dart-lang' }}
1414
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
15-
with:
16-
sdk: beta

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
## 5.1.1
2+
3+
- Updated the SDK lower bound to 3.6.
4+
15
## 5.1.0
26

37
- `core`:
48
- added [unintended_html_in_doc_comment] (https://github.com/dart-lang/lints/issues/192)
5-
- Updated the SDK lower-bound to 3.6.
9+
- Updated the SDK lower bound to 3.6 (dev).
610

711
[unintended_html_in_doc_comment]: https://dart.dev/lints/unintended_html_in_doc_comment
812

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: lints
2-
version: 5.1.0
2+
version: 5.1.1
33
description: >
44
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
55
suggested by the Dart team.
@@ -10,7 +10,7 @@ topics:
1010
- lints
1111

1212
environment:
13-
sdk: ^3.6.0-0
13+
sdk: ^3.6.0
1414

1515
# NOTE: Code is not allowed in this package - do not add dependencies.
1616
# dependencies:

tool/rules.json

+21-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@
109109
"description": "Avoid using `forEach` with a function literal.",
110110
"fixStatus": "hasFix"
111111
},
112+
{
113+
"name": "avoid_futureor_void",
114+
"description": "Avoid using 'FutureOr<void>' as the type of a result.",
115+
"fixStatus": "noFix"
116+
},
112117
{
113118
"name": "avoid_implementing_value_types",
114119
"description": "Don't implement classes that override `==`.",
@@ -584,6 +589,11 @@
584589
"description": "Omit obvious type annotations for local variables.",
585590
"fixStatus": "hasFix"
586591
},
592+
{
593+
"name": "omit_obvious_property_types",
594+
"description": "Omit obvious type annotations for top-level and static variables.",
595+
"fixStatus": "hasFix"
596+
},
587597
{
588598
"name": "one_member_abstracts",
589599
"description": "Avoid defining a one-member abstract class when a simple function will do.",
@@ -889,6 +899,11 @@
889899
"description": "Specify non-obvious type annotations for local variables.",
890900
"fixStatus": "hasFix"
891901
},
902+
{
903+
"name": "specify_nonobvious_property_types",
904+
"description": "Specify non-obvious type annotations for top-level and static variables.",
905+
"fixStatus": "hasFix"
906+
},
892907
{
893908
"name": "super_goes_last",
894909
"description": "Place the `super` call last in a constructor initialization list.",
@@ -1074,6 +1089,11 @@
10741089
"description": "Avoid unsafe HTML APIs.",
10751090
"fixStatus": "noFix"
10761091
},
1092+
{
1093+
"name": "unsafe_variance",
1094+
"description": "Unsafe type: Has a type variable in a non-covariant position.",
1095+
"fixStatus": "noFix"
1096+
},
10771097
{
10781098
"name": "use_build_context_synchronously",
10791099
"description": "Do not use `BuildContext` across asynchronous gaps.",
@@ -1082,7 +1102,7 @@
10821102
{
10831103
"name": "use_colored_box",
10841104
"description": "Use `ColoredBox`.",
1085-
"fixStatus": "needsFix"
1105+
"fixStatus": "hasFix"
10861106
},
10871107
{
10881108
"name": "use_decorated_box",

0 commit comments

Comments
 (0)