Skip to content

Commit 058e3ea

Browse files
authored
Merge pull request flutter#19 from davidmorgan/release-1-6-0
Release 1.6.0.
2 parents b9d7c37 + df44d56 commit 058e3ea

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

CHANGELOG.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
1+
## 1.6.0
2+
3+
- Enforce six new lint rules:
4+
5+
- [`curly_braces_in_flow_control_structures`]
6+
- [`empty_catches`]
7+
- [`library_names`]
8+
- [`library_prefixes`]
9+
- [`type_init_formals`]
10+
- [`unnecessary_null_in_if_null_operators`]
11+
12+
[`curly_braces_in_flow_control_structures`]: https://dart-lang.github.io/linter/lints/curly_braces_in_flow_control_structures.html
13+
[`empty_catches`]: https://dart-lang.github.io/linter/lints/empty_catches.html
14+
[`library_names`]: https://dart-lang.github.io/linter/lints/library_names.html
15+
[`library_prefixes`]: https://dart-lang.github.io/linter/lints/library_prefixes.html
16+
[`type_init_formals`]: https://dart-lang.github.io/linter/lints/type_init_formals.html
17+
[`unnecessary_null_in_if_null_operators`]: https://dart-lang.github.io/linter/lints/unnecessary_null_in_if_null_operators.html
18+
119
## 1.5.0
220

321
- Enforce three new lint rules:
22+
423
- [`avoid_shadowing_type_parameters`],
524
- [`empty_constructor_bodies`],
625
- [`slash_for_doc_comments`] - Violations can be cleaned up with
726
[the formatter]'s `--fix-doc-comments` flag.
827

9-
[`avoid_shadowing_type_parameters`]: http://dart-lang.github.io/linter/lints/avoid_shadowing_type_parameters.html
10-
[`empty_constructor_bodies`]: http://dart-lang.github.io/linter/lints/empty_constructor_bodies.html
11-
[`slash_for_doc_comments`]: http://dart-lang.github.io/linter/lints/slash_for_doc_comments.html
28+
[`avoid_shadowing_type_parameters`]: https://dart-lang.github.io/linter/lints/avoid_shadowing_type_parameters.html
29+
[`empty_constructor_bodies`]: https://dart-lang.github.io/linter/lints/empty_constructor_bodies.html
30+
[`slash_for_doc_comments`]: https://dart-lang.github.io/linter/lints/slash_for_doc_comments.html
1231
[the formatter]: https://github.com/dart-lang/dart_style#style-fixes
1332

1433
## 1.4.0

lib/analysis_options.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ linter:
1313
- avoid_return_types_on_setters
1414
- avoid_shadowing_type_parameters
1515
- avoid_types_as_parameter_names
16+
- curly_braces_in_flow_control_structures
17+
- empty_catches
1618
- empty_constructor_bodies
19+
- library_names
20+
- library_prefixes
1721
- no_duplicate_case_values
1822
- null_closures
1923
- prefer_contains
@@ -22,7 +26,9 @@ linter:
2226
- prefer_is_not_empty
2327
- recursive_getters
2428
- slash_for_doc_comments
29+
- type_init_formals
2530
- unawaited_futures
31+
- unnecessary_null_in_if_null_operators
2632
- unrelated_type_equality_checks
2733
- use_rethrow_when_possible
2834
- valid_regexps

0 commit comments

Comments
 (0)