Skip to content

Releases: dart-lang/linter

0.1.55

27 Jun 16:47
@pq pq
fc565d1
Compare
Choose a tag to compare

0.1.55

  • fixed an issue in const error handling
  • updated linter binary to use previewDart2

0.1.54

20 Jun 14:02
@pq pq
bb3cc66
Compare
Choose a tag to compare

0.1.54

  • new unnecessary_const lint
  • new unnecessary_new lint
  • fixed errors in use_to_and_as_if_applicable
  • new file_names lint

0.1.53

13 Jun 21:08
@pq pq
e1a6c5e
Compare
Choose a tag to compare

0.1.53

  • updated unnecessary_statements to ignore getters (as they may be side-effecting).

0.1.52

07 Jun 20:40
@pq pq
Compare
Choose a tag to compare

0.1.52

  • fixed void_checks to handle arguments not resolved to a parameter
  • fixed exceptions produced by prefer_const_literals_to_create_immutables

0.1.51

29 May 16:32
@pq pq
Compare
Choose a tag to compare
# 0.1.51

* `unrelated_type_equality_checks` now allows comparison between `Int64` or `Int32` and `int`
* `unnecessary_parenthesis` improved to handle cascades _in_ cascades

0.1.50

03 May 20:52
@pq pq
157f6ea
Compare
Choose a tag to compare

0.1.50

  • migration of rules to use analyzer package NodeLintRule and UnitLintRule yielding significant performance gains all around
  • specific performance improvements for prefer_final_fields (~6x)
  • addressed no such method calls in void_checks
  • improved lint reporting for various lints

0.1.49

20 Apr 19:23
@pq pq
260fee3
Compare
Choose a tag to compare

0.1.49

  • new void_checks lint

0.1.48

16 Apr 20:53
@pq pq
c56dd99
Compare
Choose a tag to compare

0.1.48

  • new avoid_field_initializers_in_const_classes lint
  • miscellaneous documentation fixes
  • improved handling of cascades in unnecessary_statements
  • new avoid_js_rounded_ints lint

0.1.47

06 Apr 22:28
@pq pq
98b15be
Compare
Choose a tag to compare

0.1.47

  • new avoid_double_and_int_checks lint
  • fix to handle uninitialized vars in prefer_const_declarations
  • fix for generic function type handling in avoid_types_as_parameter_names
  • new prefer_iterable_whereType lint
  • new prefer_generic_function_type_aliases lint
  • Dart 2 compatibility fixes

0.1.46

30 Mar 14:51
@pq pq
Compare
Choose a tag to compare
# 0.1.46

* performance fixes for library prefix testing (`library_prefixes`)
* new `avoid_bool_literals_in_conditional_expressions` lint
* new `prefer_equal_for_default_values` lint
* new `avoid_private_typedef_functions` lint
* new `avoid_single_cascade_in_expression_statements` lint