Skip to content

Commit 47b0798

Browse files
authored
Merge pull request flutter#10 from davidmorgan/release-1-4-0
Enforce avoid_init_to_null and null_closures.
2 parents ef5846d + d9d7171 commit 47b0798

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-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.4.0
2+
3+
- Enforce `avoid_init_to_null` and `null_closures`.
4+
15
## 1.3.0
26

37
- Enforce `prefer_is_empty`.

lib/analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
linter:
99
rules:
1010
- avoid_empty_else
11+
- avoid_init_to_null
1112
- avoid_relative_lib_imports
1213
- avoid_return_types_on_setters
1314
- avoid_types_as_parameter_names
1415
- no_duplicate_case_values
16+
- null_closures
1517
- prefer_contains
1618
- prefer_equal_for_default_values
1719
- prefer_is_empty

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.3.0
2+
version: 1.4.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)