Merge pull request #19 from davidmorgan/release-1-6-0
Release 1.6.0.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2a12c4e..b8fa2c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,33 @@
+## 1.6.0
+
+- Enforce six new lint rules:
+
+ - [`curly_braces_in_flow_control_structures`]
+ - [`empty_catches`]
+ - [`library_names`]
+ - [`library_prefixes`]
+ - [`type_init_formals`]
+ - [`unnecessary_null_in_if_null_operators`]
+
+[`curly_braces_in_flow_control_structures`]: https://dart-lang.github.io/linter/lints/curly_braces_in_flow_control_structures.html
+[`empty_catches`]: https://dart-lang.github.io/linter/lints/empty_catches.html
+[`library_names`]: https://dart-lang.github.io/linter/lints/library_names.html
+[`library_prefixes`]: https://dart-lang.github.io/linter/lints/library_prefixes.html
+[`type_init_formals`]: https://dart-lang.github.io/linter/lints/type_init_formals.html
+[`unnecessary_null_in_if_null_operators`]: https://dart-lang.github.io/linter/lints/unnecessary_null_in_if_null_operators.html
+
## 1.5.0
- Enforce three new lint rules:
+
- [`avoid_shadowing_type_parameters`],
- [`empty_constructor_bodies`],
- [`slash_for_doc_comments`] - Violations can be cleaned up with
[the formatter]'s `--fix-doc-comments` flag.
-[`avoid_shadowing_type_parameters`]: http://dart-lang.github.io/linter/lints/avoid_shadowing_type_parameters.html
-[`empty_constructor_bodies`]: http://dart-lang.github.io/linter/lints/empty_constructor_bodies.html
-[`slash_for_doc_comments`]: http://dart-lang.github.io/linter/lints/slash_for_doc_comments.html
+[`avoid_shadowing_type_parameters`]: https://dart-lang.github.io/linter/lints/avoid_shadowing_type_parameters.html
+[`empty_constructor_bodies`]: https://dart-lang.github.io/linter/lints/empty_constructor_bodies.html
+[`slash_for_doc_comments`]: https://dart-lang.github.io/linter/lints/slash_for_doc_comments.html
[the formatter]: https://github.com/dart-lang/dart_style#style-fixes
## 1.4.0
diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml
index ab3ac09..ff8cd7c 100644
--- a/lib/analysis_options.yaml
+++ b/lib/analysis_options.yaml
@@ -13,7 +13,11 @@
- avoid_return_types_on_setters
- avoid_shadowing_type_parameters
- avoid_types_as_parameter_names
+ - curly_braces_in_flow_control_structures
+ - empty_catches
- empty_constructor_bodies
+ - library_names
+ - library_prefixes
- no_duplicate_case_values
- null_closures
- prefer_contains
@@ -22,7 +26,9 @@
- prefer_is_not_empty
- recursive_getters
- slash_for_doc_comments
+ - type_init_formals
- unawaited_futures
+ - unnecessary_null_in_if_null_operators
- unrelated_type_equality_checks
- use_rethrow_when_possible
- valid_regexps