Skip to content

Commit d60429f

Browse files
committed
Add use_null_aware_elements to recommended
Closes #899 Bump to a feature release. Drop an unnecessary `-0` suffix on the SDK constraint.
1 parent e6c3810 commit d60429f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

pkgs/lints/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
## 6.0.1-wip
1+
## 6.1.0-wip
22

3+
- `recommended`:
4+
- added [use_null_aware_elements] (https://github.com/dart-lang/core/issues/899)
35
- Run `dart format` with the new style.
46

7+
[use_null_aware_elements]: https://dart.dev/lints/use_null_aware_elements
8+
59
## 6.0.0
610

711
- `core`:

pkgs/lints/lib/recommended.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ linter:
6565
- unnecessary_to_list_in_spreads
6666
- unnecessary_underscores
6767
- use_function_type_syntax_for_parameters
68+
- use_null_aware_elements
6869
- use_rethrow_when_possible
6970
- use_super_parameters

pkgs/lints/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: lints
2-
version: 6.0.1-wip
2+
version: 6.1.0-wip
33
description: >
44
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
55
suggested by the Dart team.
@@ -11,7 +11,7 @@ topics:
1111
- lints
1212

1313
environment:
14-
sdk: ^3.8.0-0
14+
sdk: ^3.8.0
1515

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

0 commit comments

Comments
 (0)