Skip to content

Releases: dart-lang/linter

1.18.0

10 Jan 22:58
@pq pq
8e4331e
Compare
Choose a tag to compare

1.18.0

  • extend camel_case_types to cover enums
  • fix no_leading_underscores_for_local_identifiers to not
    mis-flag field formal parameters with default values
  • fix prefer_function_declarations_over_variables to not
    mis-flag non-final fields
  • performance improvements for prefer_contains
  • update exhaustive_cases to skip deprecated values that
    redirect to other values

1.17.1

16 Dec 18:23
@pq pq
2fbca9a
Compare
Choose a tag to compare

1.17.1

  • update to analyzer version 3.0

1.17.0

16 Dec 17:47
@pq pq
508b7f8
Compare
Choose a tag to compare

1.17.0

  • new lint: unnecessary_late
  • fix to no_leading_underscores_for_local_identifiers to allow underscores in catch clauses

1.16.0

08 Dec 23:06
@pq pq
72c2897
Compare
Choose a tag to compare

1.16.0

  • doc improvements for prefer_initializing_formals
  • updates to secure_pubspec_urls to check issue_tracker and repository entries
  • new lint: conditional_uri_does_not_exist
  • performance improvements for missing_whitespace_between_adjacent_strings

1.15.0

23 Nov 18:56
@pq pq
c37c9bb
Compare
Choose a tag to compare

1.15.0

  • new lint: use_decorated_box
  • new lint: no_leading_underscores_for_library_prefixes
  • new lint: no_leading_underscores_for_local_identifiers
  • new lint: secure_pubspec_urls
  • new lint: sized_box_shrink_expand
  • new lint: avoid_final_parameters
  • improved docs for omit_local_variable_types

1.14.0

20 Oct 16:13
@pq pq
548cbd4
Compare
Choose a tag to compare

1.14.0

  • fix omit_local_variable_types to not flag a local type that is
    required for inference

1.13.0

12 Oct 17:38
@pq pq
5ee6393
Compare
Choose a tag to compare

1.13.0

  • allow while (true) { ...} in literal_only_boolean_expressions
  • fixed file_names to report at the start of the file (not the entire
    compilation unit)
  • fixed prefer_collection_literals named typed param false positive
  • control flow improvements for use_build_context_synchronously

1.12.0

20 Sep 15:00
@pq pq
085cbe6
Compare
Choose a tag to compare

1.12.0

  • fixed unnecessary_lambdas false positive for const constructor invocations
  • updated avoid_print to allow kDebugMode-wrapped print calls
  • fixed handling of initializing formals in prefer_final_parameters
  • fixed unnecessary_parenthesis false positive with function expressions

1.11.0

07 Sep 16:33
@pq pq
dcb0fbc
Compare
Choose a tag to compare

1.11.0

  • added support for constructor tear-offs to avoid_redundant_argument_values,
    unnecessary_lambdas, and unnecessary_parenthesis
  • new lint: unnecessary_constructor_name to flag unnecessary uses of .new

1.10.0

25 Aug 13:49
@pq pq
49d1ccf
Compare
Choose a tag to compare

1.10.0

  • improved regular expression parsing performance for common checks
    (camel_case_types, file_names, etc.)
  • (internal) migrated to analyzer 2.1.0 APIs
  • fixed false positive in use_build_context_synchronously in awaits inside
    anonymous functions
  • fixed overridden_fields false positive w/ static fields
  • fixed false positive in avoid_null_checks_in_equality_operators w/
    non-nullable params
  • fixed false positive for deferred imports in prefer_const_constructors