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

Releases: dart-lang/linter

0.1.24

15 Aug 16:55
@pq pq
Compare
Choose a tag to compare
Publish linter `0.1.24`.

* Internal updates to keep up with changes in the analyzer package.
* Updated `close_sinks` to respect calls to `destroy` (#282).
* Fixed `only_throw_errors` to report on the expression not node.

BUG=
[email protected]

Review URL: https://codereview.chromium.org//2245123002 .

0.1.23

28 Jul 16:06
@pq pq
Compare
Choose a tag to compare
Remove `whitespace_around_ops` pending re-name and re-design (#249).

BUG=
[email protected]

Review URL: https://codereview.chromium.org//2189993002 .

0.1.22

27 Jul 14:27
@pq pq
Compare
Choose a tag to compare
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 .

0.1.21

27 Jun 20:17
@pq pq
Compare
Choose a tag to compare
Linter `0.1.21`

* New `only_throw_errors` lint.
* New lint to check for `empty_statements` (#259).
* Fixed NSME when file contents cannot be read (#260).
* Fixed unsafe cast in `iterable_contains_unrelated_type` (#267).

[email protected], [email protected]

Review URL: https://codereview.chromium.org//2100013005 .

0.1.20

13 Jun 22:53
@pq pq
Compare
Choose a tag to compare
Linter `0.1.20`.

* New `cancel_subscriptions` lint.

[email protected]

Review URL: https://codereview.chromium.org//2066683002 .

0.1.19

13 Jun 22:53
@pq pq
Compare
Choose a tag to compare
Linter `0.1.19`.

* New `close_sinks` lint.
* Fixes to `iterable_contains_unrelated_type `.

BUG=
[email protected]

Review URL: https://codereview.chromium.org//2064913002 .

0.1.18

02 Jun 16:32
@pq pq
Compare
Choose a tag to compare
Bump to `0.1.18`.

Includes:
* Fix NSME in `iterable_contains_unrelated_type` (#245).
* Fixed typo in `comment_references` error description.
* Fix `overriden_field` false positive (#246).
* Rename linter binary `lints` option to `rules` (#248).
* Help doc tweaks.

BUG=
[email protected]

Review URL: https://codereview.chromium.org//2035653003 .

0.1.17

18 May 18:31
@pq pq
Compare
Choose a tag to compare
Linter version 0.1.17.

Introduces:

* Fix to `public_member_api_docs` to check for documented getters when checking setters (#237).
* New `iterable_contains_unrelated_type` lint to detect when `Iterable.contains` is invoked with an object of an unrelated type.
* New `comment_references` lint to ensure identifiers referenced in docs are in scope (#240).

BUG=
[email protected]

Review URL: https://codereview.chromium.org//1992693003 .

0.1.16

12 May 13:15
@pq pq
Compare
Choose a tag to compare
Linter version 0.1.16.

Includes:

* Fix for false positive in `overriden_field`s.
* New `unrelated_type_equality_checks` lint.
* Fix to accept `$` identifiers in string interpolation lint (#214).
* Update to new `plugin` API (`0.2.0`).
* Strong mode cleanup.

BUG=

Review URL: https://codereview.chromium.org//1972183002 .

0.1.14

12 Apr 20:39
@pq pq
Compare
Choose a tag to compare
Bump to `0.1.14` pre-publish.

BUG=
[email protected]

Review URL: https://codereview.chromium.org//1877033005 .