Skip to content

Commit ef5846d

Browse files
authored
Merge pull request flutter#9 from davidmorgan/enable-prefer-is-empty
Enforce prefer_is_empty.
2 parents c1c5ed6 + 5d015d5 commit ef5846d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.0
2+
3+
- Enforce `prefer_is_empty`.
4+
15
## 1.2.0
26

37
- Enforce `unawaited_futures`. Stop enforcing `control_flow_in_finally` and

lib/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ linter:
1414
- no_duplicate_case_values
1515
- prefer_contains
1616
- prefer_equal_for_default_values
17+
- prefer_is_empty
1718
- prefer_is_not_empty
1819
- recursive_getters
1920
- unrelated_type_equality_checks

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: pedantic
2-
version: 1.2.0
2+
version: 1.3.0
33
description: How to get the most value from Dart static analysis.
44
author: Dart Team <[email protected]>
55
homepage: https://github.com/dart-lang/pedantic

0 commit comments

Comments
 (0)