Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 4b4f1f2

Browse files
committed
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= [email protected] Review URL: https://codereview.chromium.org//2182183004 .
1 parent 63c35a4 commit 4b4f1f2

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# 0.1.22
2+
3+
* Grinder support (`rule:rule_name` and `docs:location`) for rule stub and doc generation (respectively).
4+
* Fix to allow leading underscores in `non_constant_identifier_names`.
5+
* New `valid_regexps` lint (#277).
6+
* New `whitespace_around_ops` lint (#249).
7+
* Fix to `overridden_fields` to flag overridden static fields (#274).
8+
* New `list_remove_unrelated_type` to detect passing a non-`T` value to `List.remove()`` (#271).
9+
* New `empty_catches` lint to catch empty catch blocks (#43).
10+
* Fixed `close_sinks` false positive (#268).
11+
* `linter` support for `--strong` to allow for running linter in strong mode.
12+
113
# 0.1.21
214

315
* New `only_throw_errors` lint.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: linter
2-
version: 0.1.21
2+
version: 0.1.22
33
author: Dart Team <[email protected]>
44
description: Style linter for Dart.
55
homepage: https://github.com/dart-lang/linter

0 commit comments

Comments
 (0)