From 4b4f1f237914fbfbb4e3850bd648a70cc0ce8e15 Mon Sep 17 00:00:00 2001 From: pq Date: Wed, 27 Jul 2016 07:26:02 -0700 Subject: [PATCH] Linter `0.1.22`. * Grinder support (`rule:rule_name` and `docs:location`) for rule stub and doc generation (respectively). * Fix to allow leading underscores in `non_constant_identifier_names`. * New `valid_regexps` lint (#277). * New `whitespace_around_ops` lint (#249). * Fix to `overridden_fields` to flag overridden static fields (#274). * New `list_remove_unrelated_type` to detect passing a non-`T` value to `List.remove()`` (#271). * New `empty_catches` lint to catch empty catch blocks (#43). * Fixed `close_sinks` false positive (#268). * Added `linter` support for `--strong` to allow for running linter in strong mode. BUG= R=scheglov@google.com Review URL: https://codereview.chromium.org//2182183004 . --- CHANGELOG.md | 12 ++++++++++++ pubspec.yaml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96087ee37..4a3ca83fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 0.1.22 + +* Grinder support (`rule:rule_name` and `docs:location`) for rule stub and doc generation (respectively). +* Fix to allow leading underscores in `non_constant_identifier_names`. +* New `valid_regexps` lint (#277). +* New `whitespace_around_ops` lint (#249). +* Fix to `overridden_fields` to flag overridden static fields (#274). +* New `list_remove_unrelated_type` to detect passing a non-`T` value to `List.remove()`` (#271). +* New `empty_catches` lint to catch empty catch blocks (#43). +* Fixed `close_sinks` false positive (#268). +* `linter` support for `--strong` to allow for running linter in strong mode. + # 0.1.21 * New `only_throw_errors` lint. diff --git a/pubspec.yaml b/pubspec.yaml index d91814935..8934c66f5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: linter -version: 0.1.21 +version: 0.1.22 author: Dart Team description: Style linter for Dart. homepage: https://github.com/dart-lang/linter