Skip to content

Releases: dart-lang/linter

0.1.35

28 Jul 20:32
@pq pq
Compare
Choose a tag to compare
Fix benchmarking. (#760)

0.1.34

28 Jul 20:31
@pq pq
Compare
Choose a tag to compare
0.1.34.

0.1.33

17 Jul 14:07
@pq pq
Compare
Choose a tag to compare
0.1.33

0.1.31

08 May 19:44
@pq pq
Compare
Choose a tag to compare

0.1.31

  • New prefer_foreach lint.
  • New use_string_buffers rule.
  • New unnecessary_overrides rule.
  • New join_return_with_assignment_when_possible rule.
  • New use_to_and_as_if_applicable rule.
  • New avoid_setters_without_getters rule.
  • New always_put_control_body_on_new_line rule.
  • New avoid_positional_boolean_parameters rule.
  • New always_require_non_null_named_parameters rule.
  • New prefer_conditional_assignment rule.
  • New prefer_conditional_assignment rule.
  • New avoid_types_on_closure_parameters rule.
  • New always_put_control_body_on_new_line rule.
  • New use_setters_to_change_properties rule.
  • New avoid_returning_this rule.
  • New avoid_annotating_with_dynamic_when_not_required rule.
  • New prefer_constructors_over_static_methods rule.
  • New avoid_returning_null rule.
  • New avoid_classes_with_only_static_members rule.
  • New avoid_null_checks_in_equality_operators rule.
  • New avoid_catches_without_on_clauses rule.
  • New avoid_catching_errors rule.
  • New use_rethrow_when_possible rule.
  • Many lint fixes (notably prefer_final_fields, unnecessary_lambdas, await_only_futures, cascade_invocations, avoid_types_on_closure_parameters, and overridden_fields).
  • Significant performance improvements for prefer_interpolation_to_compose_strings.
  • New unnecessary_this rule.
  • New prefer_initiliazling_formals rule.

0.1.30

27 Mar 13:53
@pq pq
Compare
Choose a tag to compare

0.1.30

  • New avoid_function_literals_in_foreach_calls lint.
  • New avoid_slow_async_io lint.
  • New cascade_invocations lint.
  • New directives_ordering lint.
  • New no_adjacent_strings_in_list lint.
  • New no_duplicate_case_values lint.
  • New omit_local_variable_types lint.
  • New prefer_adjacent_string_concatenation lint.
  • New prefer_collection_literals lint.
  • New prefer_const_constructors lint.
  • New prefer_contains lint.
  • New prefer_expression_function_bodies lint.
  • New prefer_function_declarations_over_variables lint.
  • New prefer_initializing_formals lint.
  • New prefer_interpolation_to_compose_strings lint.
  • New prefer_is_empty lint.
  • New recursive_getters lint.
  • New unnecessary_brace_in_string_interps lint.
  • New unnecessary_lambdas lint.
  • New unnecessary_null_aware_assignments lint.
  • New unnecessary_null_in_if_null_operators lint.
  • Miscellaneous bug fixes and codegen improvements.

0.1.29

21 Nov 18:41
@pq pq
Compare
Choose a tag to compare
Linter `0.1.29` (#327). (#331)

* Linter `0.1.29`.

* Update pubspec.yaml

Remove rogue json_schema dependency.

0.1.28: Move MockSdk into tests.

12 Oct 04:24
Compare
Choose a tag to compare
Also make _MockSdkLibrary implement noSuchMethod() to avoid breaking
because of unused methods in the future.

[email protected], [email protected]
BUG=

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

0.1.27

23 Sep 20:50
@pq pq
Compare
Choose a tag to compare
Publish linter `0.1.27`.

BUG=
[email protected], [email protected]

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

0.1.26

05 Sep 18:51
@pq pq
Compare
Choose a tag to compare
Publish `0.1.26`.

* Updated tests to use package `test` (#302).

Fixes: https://github.com/dart-lang/linter/issues/302

BUG=
[email protected]

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

0.1.25

05 Sep 18:51
@pq pq
Compare
Choose a tag to compare
Publish linter `0.1.25`.

* Fixed false positive on `[]=` in `always_declare_return_types` (#300).
* New `invariant_booleans` lint.
* New `literal_only_boolean_expressions` lint.
* Fixed `camel_case_types` to allow `$` in identifiers (#290).

BUG=
[email protected]

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