Skip to content

Releases: dart-lang/linter

1.2.0

22 Mar 20:19
@pq pq
479e503
Compare
Choose a tag to compare

1.2.0

  • improvements to iterable_contains_unrelated_type to better support List
    content checks
  • fixes to camel_case_types and prefer_mixin to support non-function
    type aliases

1.1.0

17 Mar 22:22
@pq pq
718e085
Compare
Choose a tag to compare

1.1.0

  • fixed prefer_mixin to properly make exceptions for dart.collection legacy
    mixins
  • improved formatting of source examples in docs
  • new lint: use_build_context_synchronously (experimental)
  • new lint: avoid_multiple_declarations_per_line

1.0.0

03 Mar 17:38
@pq pq
618e7c6
Compare
Choose a tag to compare

1.0.0

  • full library migration to null-safety
  • new lint: use_if_null_to_convert_nulls_to_bools
  • new lint: deprecated_consistency
  • new lint: use_named_constants
  • deprecation of avoid_as

0.1.129

21 Jan 19:24
@pq pq
1a82fbd
Compare
Choose a tag to compare

0.1.129

  • fixed a bug where avoid_dynamic_calls produced false-positives for .call()

0.1.128

19 Jan 18:18
@pq pq
801314d
Compare
Choose a tag to compare

0.1.128

  • new lint: avoid_dynamic_calls
  • (internal): updated avoid_type_to_string to use addArgumentList registry API
  • documentation improvements

0.1.127

09 Dec 18:06
@pq pq
16ed9df
Compare
Choose a tag to compare

0.1.127

  • fixed crash in prefer_collection_literals when there is no static parameter element

0.1.126

30 Nov 21:39
@pq pq
1dce7fb
Compare
Choose a tag to compare

0.1.126

  • fixed false negatives for prefer_collection_literals when a LinkedHashSet or
    LinkedHashMap instantiation is passed as the argument to a function in any
    position other than the first
  • fixed false negatives for prefer_collection_literals when a LinkedHashSet or
    LinkedHashMap instantiation is used in a place with a static type other than
    Set or Map

0.1.125

11 Nov 21:52
@pq pq
6e4b478
Compare
Choose a tag to compare

0.1.125

  • (internal): update to new PhysicalResourceProvider API

0.1.124

06 Nov 19:02
@pq pq
f9aee2c
Compare
Choose a tag to compare

0.1.124

  • fixed false positives in prefer_constructors_over_static_methods
  • updated package_names to allow leading underscores

0.1.123

04 Nov 04:45
@pq pq
1d26758
Compare
Choose a tag to compare

0.1.123

  • fixed NPEs in unnecessary_null_checks