Skip to content

Releases: olmps/strict

2.1.0

10 Apr 20:42
5bef8cc
Compare
Choose a tag to compare
  • Updated reference to new all.yaml rules, now tracking Dart SDK's version, as the past linter repo moved to the sdk.
  • Added explanation on library_names.

  • Added and enabled: annotate_redeclares.
  • Added and disabled: missing_code_block_language_in_doc_comment.
  • Added references to unreleased rules: unintended_html_in_doc_comment and unnecessary_library_name.

2.0.0

29 Dec 15:08
45f3973
Compare
Choose a tag to compare

Breaking changes:

  • Bumped Dart sdk min version from 2.16.1 to 3.1.0.
  • Updated the deprecated analyzer.strong-mode in favor of the analyzer.language new options. All three
    new options were set to true.

Other changes:

  • Added and enabled: collection_methods_unrelated_type, combinators_ordering, dangling_library_doc_comments,
    deprecated_member_use_from_same_package, discarded_futures, implicit_call_tearoffs, invalid_case_patterns,
    library_annotations, matching_super_parameters, no_literal_bool_comparisons, no_self_assignments,
    no_wildcard_variable_uses, type_literal_in_constant_pattern, unnecessary_breaks, unnecessary_library_directive,
    unnecessary_null_aware_operator_on_extension_on_nullable, unnecessary_to_list_in_spreads, unreachable_from_main,
    use_colored_box, use_enums, use_string_in_part_of_directives and use_super_parameters.
  • Added and disabled: implicit_reopen.
  • Disabled and removed: always_require_non_null_named_parameters, invariant_booleans,
    iterable_contains_unrelated_type, list_remove_unrelated_type, prefer_equal_for_default_values,
    invariant_booleans and iterable_contains_unrelated_type.
  • Removed: avoid_returning_null and avoid_returning_null_for_future.

1.3.0

08 Dec 11:50
16fcc6d
Compare
Choose a tag to compare
  • Added references to unreleased rules: avoid_final_parameters, no_leading_underscores_for_library_prefixes,
    no_leading_underscores_for_local_identifiers, secure_pubspec_urls, sized_box_shrink_expand,
    unnecessary_constructor_name, use_decorated_box
  • Enabled avoid_dynamic_calls, avoid_multiple_declarations_per_line, depend_on_referenced_packages,
    deprecated_consistency, eol_at_end_of_file, library_private_types_in_public_api, noop_primitive_operations,
    prefer_null_aware_method_calls, require_trailing_commas, use_build_context_synchronously,
    use_if_null_to_convert_nulls_to_bools, use_named_constants and use_test_throws_matchers.
  • Updated explanations on avoid_final_parameters and prefer_final_parameters.

v1.2.0

10 Jun 14:33
c4ffe99
Compare
Choose a tag to compare
  • Added references to unreleased rules: depend_on_referenced_packages, noop_primitive_operations,
    prefer_final_parameters and use_test_throws_matchers.
  • Disabled avoid_annotating_with_dynamic.

v1.1.0

07 Apr 19:47
1a1e9e2
Compare
Choose a tag to compare
  • Added library_private_types_in_public_api, prefer_null_aware_method_calls, require_trailing_commas and
    use_build_context_synchronously (all unreleased yet);
  • Disabled one_member_abstracts.

v1.0.0

12 Mar 15:20
1323966
Compare
Choose a tag to compare

First stable release of strict.

  • Added deprecated_consistency, use_if_null_to_convert_nulls_to_bools and use_named_constants (all unreleased
    yet);
  • Removed avoid_as.

v1.0.0-nullsafety.1

19 Feb 14:59
0640d19
Compare
Choose a tag to compare
  • Enabled implicit-casts;
  • Disabled avoid_as, prefer_expression_function_bodies, sort_pub_dependencies and
    use_key_in_widget_constructors.

1.0.0-nullsafety.0

18 Feb 18:00
Compare
Choose a tag to compare

Addressed the remaining TODOs, while improving the description of some decisions. Also fixing the bad version naming.

  • Updated dart-lang/linter rules up to version 0.1.129: added rule avoid_dynamic_calls (experimental, still not
    enabled);
  • Enabled avoid_annotating_with_dynamic - which was erroneously disabled (misconception of what it really did);
  • Enabled strong-mode rule of implicit-dynamic to false;
  • Enabled cast_nullable_to_non_nullable, tighten_type_of_initializing_formals, unnecessary_null_checks and
    unnecessary_nullable_for_final_variable_declarations due to NNBD;
  • Disabled avoid_returning_null, avoid_returning_null_for_future and avoid_returning_null_for_void due to NNBD;
  • Customized avoid_as to show a warning, with the according explanation to why;

Contains all rules up to version 0.1.127 of dart-lang/linter, with pending TODOs (non-critical) in the
analysis_options.yaml.

v1.0.0-0

18 Feb 14:56
Compare
Choose a tag to compare

First version of strict.

Contains all rules up to version 0.1.127 of dart-lang/linter, with pending TODOs (non-critical) in the analysis_options.yaml.